# #31407c color: Evening Magic

#31407c is rgb(49, 64, 124) in RGB and oklch(39.154% 0.10286 270.489) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/31407c

## Formats

| Format | Value |
| --- | --- |
| HEX | #31407c |
| RGB | rgb(49, 64, 124) |
| HSL | hsl(228, 43.35%, 33.92%) |
| HSB / HSV | hsv(228 60.48% 48.63%) |
| HWB | hwb(228 19.22% 51.37%) |
| CMYK | cmyk(60% 48% 0% 51%) |
| Lab | lab(28.33 9.21 -36.7) |
| LCH | lch(28.33 37.84 284.09) |
| OKLab | oklab(39.154% 0.00088 -0.10286) |
| OKLCH | oklch(39.154% 0.10286 270.489) |
| Display P3 | color(display-p3 0.20399 0.24928 0.47051) |
| Rec. 2020 | color(rec2020 0.17269 0.1902 0.41581) |
| Adobe RGB | color(a98-rgb 0.22215 0.25904 0.47594) |
| ProPhoto RGB | color(prophoto-rgb 0.21243 0.19653 0.38689) |
| Linear sRGB | color(srgb-linear 0.03071 0.05127 0.20156) |
| XYZ D65 | color(xyz-d65 0.06738 0.05775 0.19829) |
| XYZ D50 | color(xyz-d50 0.06198 0.05581 0.14934) |
| SwiftUI | Color(red: 0.192, green: 0.251, blue: 0.486) |
| UIKit | UIColor(red: 0.192, green: 0.251, blue: 0.486, alpha: 1) |
| Flutter / Compose | Color(0xFF31407C) |
| Android XML | #31407C |

## Facts

- Closest name: Evening Magic
- Hue family: Blue, soft dark blue
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.74:1
- Contrast with black: 2.15:1

## Tints

#31407c, #425289, #556497, #6877a4, #7c89b1, #919cbe, #a6afcb, #bbc3d8, #d2d7e5, #e8ebf2

## Shades

#31407c, #29366b, #222d5a, #1a244a, #131b3b, #0c132c, #060b1e, #030511, #010105, #000001

## Tones

#31407c, #334177, #354271, #37436c, #394367, #3b4461, #3d445c, #3f4556, #414551, #43454b

## Harmonies

- Complementary: #31407c, #5a4200
- Split: #31407c, #6c3500, #3e4d00
- Analogous: #31407c, #004a76, #4f3673
- Triadic: #31407c, #732b21, #075426
- Tetradic: #31407c, #632e5f, #5a4200, #075426
- Square: #31407c, #6f2943, #5a4200, #005448
- Monochromatic: #31407c, #040036, #151f58, #5062a1, #7286c8

## Questions about #31407c

### What color is #31407c?

#31407c is soft dark blue. The closest named color is Evening Magic. In RGB it is rgb(49, 64, 124), in HSL hsl(228, 43.35%, 33.92%) and in OKLCH oklch(39.154% 0.10286 270.489).

### What colors go well with #31407c?

The complementary color of #31407c is #5a4200. For a calmer combination use the analogous colors #004a76 and #4f3673. The triadic partners are #732b21 and #075426.

### Is white or black text more readable on #31407c?

White text reads better on #31407c: white gives a contrast ratio of 9.74:1 and black gives 2.15:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #31407c a warm or cool color?

#31407c is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.2% and its chroma 0.103.
