#31497C#31497C
#31497C is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.091 H 263.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #31497C |
|---|---|
| RGB | rgb(49, 73, 124) |
| HSL | hsl(221, 43%, 34%) |
| HSV | hsv(221, 60%, 49%) |
| CMYK | cmyk(60.5%, 41.1%, 0%, 51.4%) |
| CIE-LAB | lab(31.52, 7.59, -31.78) |
| CIE-LCH | lch(31.52, 32.67, 283.44°) |
| OKLab | oklab(41.21% -0.0097 -0.0902) |
| OKLCH | oklch(41.21% 0.091 263.8) |
| XYZ | xyz(7.2860, 6.8727, 20.0075) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.64
Twilight Blue
#0A437A
ΔE00 4.78
Darkish Blue
#014182
ΔE00 4.88
Dusk Blue
#26538D
ΔE00 4.99
Prussian Blue
#004577
ΔE00 5.92
Light Navy
#155084
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31497C #7C6431
analogous
#316F7C #31497C #3F317C
triadic
#31497C #7C3149 #497C31
tetradic
#31497C #7C316F #7C6431 #317C3F
square
#31497C #7C316F #7C6431 #317C3F
split-complementary
#31497C #7C3F31 #6F7C31
monochromatic
#0E1524 #202F50 #31497C #4263A8 #6583C2
Accessibility & contrast
On white
8.84
#31497C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#31497C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31497C
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31497C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31497C | 1.00 | 8.84 | 2.37 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#2A477B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #31497c; /* rgb */ color: rgb(49, 73, 124); /* oklch */ color: oklch(41.2% 0.091 263.8);
Tailwind
colors: {
custom: {
50: '#707ba2',
500: '#31497c',
950: '#000000',
},
}SCSS
$custom: #31497c; $custom-light: #707ba2; $custom-dark: #000000;
JSON
{
"hex": "#31497c",
"rgb": {
"r": 49,
"g": 73,
"b": 124
},
"hsl": {
"h": 220.8,
"s": 43.353,
"l": 33.922
},
"oklch": {
"l": 0.41211,
"c": 0.09074,
"h": 263.8
},
"luminance": 0.06873
}Semantic roles & 50–950 ramp
primary
#31497C
secondary
#AA925F
accent
#AB55D3
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#08090F
muted
#7B7B7F