# #31407d color: Evening Magic

#31407d is rgb(49, 64, 125) in RGB and oklch(39.226% 0.1044 270.564) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #31407d |
| RGB | rgb(49, 64, 125) |
| HSL | hsl(228.16, 43.68%, 34.12%) |
| HSB / HSV | hsv(228.16 60.8% 49.02%) |
| HWB | hwb(228.16 19.22% 50.98%) |
| CMYK | cmyk(61% 49% 0% 51%) |
| Lab | lab(28.39 9.51 -37.24) |
| LCH | lch(28.39 38.43 284.33) |
| OKLab | oklab(39.226% 0.00103 -0.10439) |
| OKLCH | oklch(39.226% 0.1044 270.564) |
| Display P3 | color(display-p3 0.20399 0.24928 0.47424) |
| Rec. 2020 | color(rec2020 0.17311 0.1903 0.41974) |
| Adobe RGB | color(a98-rgb 0.22215 0.25904 0.47966) |
| ProPhoto RGB | color(prophoto-rgb 0.21338 0.19674 0.3905) |
| Linear sRGB | color(srgb-linear 0.03071 0.05127 0.20508) |
| XYZ D65 | color(xyz-d65 0.06801 0.058 0.20164) |
| XYZ D50 | color(xyz-d50 0.06248 0.05602 0.15185) |
| SwiftUI | Color(red: 0.192, green: 0.251, blue: 0.49) |
| UIKit | UIColor(red: 0.192, green: 0.251, blue: 0.49, alpha: 1) |
| Flutter / Compose | Color(0xFF31407D) |
| Android XML | #31407D |

## Facts

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

## Tints

#31407d, #42528a, #556497, #6877a4, #7c89b2, #919cbf, #a6afcb, #bbc3d8, #d2d7e5, #e8ebf2

## Shades

#31407d, #29366c, #222d5b, #1a244b, #131b3b, #0c132c, #060b1e, #030511, #010105, #000001

## Tones

#31407d, #334178, #354272, #37436d, #394467, #3b4462, #3d455c, #3f4557, #414551, #43454b

## Harmonies

- Complementary: #31407d, #5a4200
- Split: #31407d, #6c3500, #3e4d00
- Analogous: #31407d, #004b77, #4f3674
- Triadic: #31407d, #732b21, #045426
- Tetradic: #31407d, #642d5f, #5a4200, #045426
- Square: #31407d, #702943, #5a4200, #005548
- Monochromatic: #31407d, #040036, #151f59, #5062a2, #7286c9

## Questions about #31407d

### What color is #31407d?

#31407d is soft dark indigo. The closest named color is Evening Magic. In RGB it is rgb(49, 64, 125), in HSL hsl(228.16, 43.68%, 34.12%) and in OKLCH oklch(39.226% 0.1044 270.564).

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

The complementary color of #31407d is #5a4200. For a calmer combination use the analogous colors #004b77 and #4f3674. The triadic partners are #732b21 and #045426.

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

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

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

#31407d is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.2% and its chroma 0.104.
