#31467F#31467F
#31467F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.099 H 266.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #31467F |
|---|---|
| RGB | rgb(49, 70, 127) |
| HSL | hsl(224, 44%, 35%) |
| HSV | hsv(224, 61%, 50%) |
| CMYK | cmyk(61.4%, 44.9%, 0%, 50.2%) |
| CIE-LAB | lab(30.80, 10.70, -34.79) |
| CIE-LCH | lch(30.80, 36.40, 287.09°) |
| OKLab | oklab(40.72% -0.0056 -0.0991) |
| OKLCH | oklch(40.72% 0.099 266.8) |
| XYZ | xyz(7.2862, 6.5650, 20.9578) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.71
Darkish Blue
#014182
ΔE00 4.94
Twilight Blue
#0A437A
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.95
Twilight
#4E518B
ΔE00 6.16
Prussian Blue
#004577
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31467F #7F6A31
analogous
#316D7F #31467F #43317F
triadic
#31467F #7F3146 #467F31
tetradic
#31467F #7F316D #7F6A31 #317F43
square
#31467F #7F316D #7F6A31 #317F43
split-complementary
#31467F #7F4331 #6D7F31
monochromatic
#0F1527 #202E53 #31467F #425EAB #6680C4
Accessibility & contrast
On white
9.08
#31467F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#31467F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31467F
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31467F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31467F | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#22457E
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #31467f; /* rgb */ color: rgb(49, 70, 127); /* oklch */ color: oklch(40.7% 0.099 266.8);
Tailwind
colors: {
custom: {
50: '#7079a4',
500: '#31467f',
950: '#000000',
},
}SCSS
$custom: #31467f; $custom-light: #7079a4; $custom-dark: #000000;
JSON
{
"hex": "#31467f",
"rgb": {
"r": 49,
"g": 70,
"b": 127
},
"hsl": {
"h": 223.846,
"s": 44.318,
"l": 34.51
},
"oklch": {
"l": 0.40715,
"c": 0.09925,
"h": 266.8
},
"luminance": 0.06566
}Semantic roles & 50–950 ramp
primary
#31467F
secondary
#AB9760
accent
#B254D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F