#31468F#31468F
#31468F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.123 H 268.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #31468F |
|---|---|
| RGB | rgb(49, 70, 143) |
| HSL | hsl(227, 49%, 38%) |
| HSV | hsv(227, 66%, 56%) |
| CMYK | cmyk(65.7%, 51%, 0%, 43.9%) |
| CIE-LAB | lab(31.84, 16.61, -43.00) |
| CIE-LCH | lch(31.84, 46.09, 291.12°) |
| OKLab | oklab(41.85% -0.0031 -0.1232) |
| OKLCH | oklch(41.85% 0.123 268.6) |
| XYZ | xyz(8.4130, 7.0157, 26.8921) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.18
Cobalt
#0047AB
ΔE00 4.88
Blueberry
#464196
ΔE00 5.16
Darkish Blue
#014182
ΔE00 5.41
Dusk Blue
#26538D
ΔE00 6.04
Twilight Blue
#0A437A
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31468F #8F7A31
analogous
#31758F #31468F #4B318F
triadic
#31468F #8F3146 #468F31
tetradic
#31468F #8F3175 #8F7A31 #318F4B
square
#31468F #8F3175 #8F7A31 #318F4B
split-complementary
#31468F #8F4B31 #758F31
monochromatic
#121934 #213061 #31468F #415CBD #6D83CD
Accessibility & contrast
On white
8.74
#31468F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#31468F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31468F
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31468F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31468F | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#05478D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #31468f; /* rgb */ color: rgb(49, 70, 143); /* oklch */ color: oklch(41.9% 0.123 268.6);
Tailwind
colors: {
custom: {
50: '#7379b0',
500: '#31468f',
950: '#000000',
},
}SCSS
$custom: #31468f; $custom-light: #7379b0; $custom-dark: #000000;
JSON
{
"hex": "#31468f",
"rgb": {
"r": 49,
"g": 70,
"b": 143
},
"hsl": {
"h": 226.596,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.41852,
"c": 0.12324,
"h": 268.6
},
"luminance": 0.07016
}Semantic roles & 50–950 ramp
primary
#31468F
secondary
#B5A367
accent
#BA4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F