# #313c7f color: Evening Magic

#313c7f is rgb(49, 60, 127) in RGB and oklch(38.502% 0.11305 272.943) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/313c7f

## Formats

| Format | Value |
| --- | --- |
| HEX | #313c7f |
| RGB | rgb(49, 60, 127) |
| HSL | hsl(231.54, 44.32%, 34.51%) |
| HSB / HSV | hsv(231.54 61.42% 49.8%) |
| HWB | hwb(231.54 19.22% 50.2%) |
| CMYK | cmyk(61% 53% 0% 50%) |
| Lab | lab(27.32 12.67 -40.19) |
| LCH | lch(27.32 42.13 287.49) |
| OKLab | oklab(38.502% 0.0058 -0.11291) |
| OKLCH | oklch(38.502% 0.11305 272.943) |
| Display P3 | color(display-p3 0.20057 0.234 0.48118) |
| Rec. 2020 | color(rec2020 0.16845 0.17594 0.42694) |
| Adobe RGB | color(a98-rgb 0.2173 0.24458 0.48685) |
| ProPhoto RGB | color(prophoto-rgb 0.21145 0.18608 0.39691) |
| Linear sRGB | color(srgb-linear 0.03071 0.04519 0.21223) |
| XYZ D65 | color(xyz-d65 0.06713 0.05417 0.20771) |
| XYZ D50 | color(xyz-d50 0.06116 0.05209 0.15637) |
| SwiftUI | Color(red: 0.192, green: 0.235, blue: 0.498) |
| UIKit | UIColor(red: 0.192, green: 0.235, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF313C7F) |
| Android XML | #313C7F |

## 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: 10.08:1
- Contrast with black: 2.08:1

## Tints

#313c7f, #424f8c, #546199, #6874a6, #7c87b3, #909ac0, #a5aecd, #bbc2d9, #d1d6e6, #e8eaf2

## Shades

#313c7f, #29336e, #222a5d, #1a214c, #13193c, #0c112d, #060a1f, #030411, #010106, #000001

## Tones

#313c7f, #333d79, #343f73, #36406e, #384168, #3a4262, #3b425c, #3d4356, #3f4350, #42434a

## Harmonies

- Complementary: #313c7f, #564100
- Split: #313c7f, #6a3300, #394c00
- Analogous: #313c7f, #00487a, #503174
- Triadic: #313c7f, #742617, #005424
- Tetradic: #313c7f, #65285d, #564100, #005424
- Square: #313c7f, #71233e, #564100, #005248
- Monochromatic: #313c7f, #060038, #161a5b, #505ea5, #7182cc

## Questions about #313c7f

### What color is #313c7f?

#313c7f is soft dark indigo. The closest named color is Evening Magic. In RGB it is rgb(49, 60, 127), in HSL hsl(231.54, 44.32%, 34.51%) and in OKLCH oklch(38.502% 0.11305 272.943).

### What colors go well with #313c7f?

The complementary color of #313c7f is #564100. For a calmer combination use the analogous colors #00487a and #503174. The triadic partners are #742617 and #005424.

### Is white or black text more readable on #313c7f?

White text reads better on #313c7f: white gives a contrast ratio of 10.08:1 and black gives 2.08:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #313c7f a warm or cool color?

#313c7f is a cool color. In OKLCH its hue is 273 degrees, its lightness 38.5% and its chroma 0.113.
