# #313a7e color: Evening Magic

#313a7e is rgb(49, 58, 126) in RGB and oklch(38.001% 0.11437 273.978) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #313a7e |
| RGB | rgb(49, 58, 126) |
| HSL | hsl(232.99, 44%, 34.31%) |
| HSB / HSV | hsv(232.99 61.11% 49.41%) |
| HWB | hwb(232.99 19.22% 50.59%) |
| CMYK | cmyk(61% 54% 0% 51%) |
| Lab | lab(26.68 13.65 -40.59) |
| LCH | lch(26.68 42.82 288.59) |
| OKLab | oklab(38.001% 0.00793 -0.11409) |
| OKLCH | oklch(38.001% 0.11437 273.978) |
| Display P3 | color(display-p3 0.19893 0.22638 0.47722) |
| Rec. 2020 | color(rec2020 0.16536 0.16861 0.42269) |
| Adobe RGB | color(a98-rgb 0.21496 0.23738 0.48298) |
| ProPhoto RGB | color(prophoto-rgb 0.20864 0.18044 0.39288) |
| Linear sRGB | color(srgb-linear 0.03071 0.04231 0.20864) |
| XYZ D65 | color(xyz-d65 0.06545 0.05185 0.20395) |
| XYZ D50 | color(xyz-d50 0.05954 0.04981 0.15352) |
| SwiftUI | Color(red: 0.192, green: 0.227, blue: 0.494) |
| UIKit | UIColor(red: 0.192, green: 0.227, blue: 0.494, alpha: 1) |
| Flutter / Compose | Color(0xFF313A7E) |
| Android XML | #313A7E |

## 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.31:1
- Contrast with black: 2.04:1

## Tints

#313a7e, #424d8b, #546098, #6773a6, #7b86b3, #9099bf, #a5adcc, #bbc1d9, #d1d5e6, #e8eaf2

## Shades

#313a7e, #29316d, #22285c, #1a204c, #13183c, #0c102d, #06091f, #030411, #010105, #000001

## Tones

#313a7e, #323c78, #343d72, #353e6d, #373f67, #394061, #3b415b, #3c4155, #3e424f, #404249

## Harmonies

- Complementary: #313a7e, #534000
- Split: #313a7e, #683200, #364b00
- Analogous: #313a7e, #00467a, #502f73
- Triadic: #313a7e, #732413, #005323
- Tetradic: #313a7e, #65265b, #534000, #005323
- Square: #313a7e, #71213b, #534000, #005148
- Monochromatic: #313a7e, #060035, #16185a, #505ca4, #7180cb

## Questions about #313a7e

### What color is #313a7e?

#313a7e is soft dark indigo. The closest named color is Evening Magic. In RGB it is rgb(49, 58, 126), in HSL hsl(232.99, 44%, 34.31%) and in OKLCH oklch(38.001% 0.11437 273.978).

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

The complementary color of #313a7e is #534000. For a calmer combination use the analogous colors #00467a and #502f73. The triadic partners are #732413 and #005323.

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

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

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

#313a7e is a cool color. In OKLCH its hue is 274 degrees, its lightness 38% and its chroma 0.114.
