#31429B#31429B
#31429B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.146 H 270.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #31429B |
|---|---|
| RGB | rgb(49, 66, 155) |
| HSL | hsl(230, 52%, 40%) |
| HSV | hsv(230, 68%, 61%) |
| CMYK | cmyk(68.4%, 57.4%, 0%, 39.2%) |
| CIE-LAB | lab(31.61, 23.75, -50.68) |
| CIE-LCH | lch(31.61, 55.97, 295.11°) |
| OKLab | oklab(41.96% 0.0016 -0.1459) |
| OKLCH | oklch(41.96% 0.146 270.6) |
| XYZ | xyz(9.1292, 6.9151, 31.8576) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.55
Cobalt (survey)
#1E488F
ΔE00 4.91
Darkslateblue
#483D8B
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31429B #9B8A31
analogous
#31779B #31429B #55319B
triadic
#31429B #9B3142 #429B31
tetradic
#31429B #9B3177 #9B8A31 #319B55
square
#31429B #9B3177 #9B8A31 #319B55
split-complementary
#31429B #9B5531 #779B31
monochromatic
#141A3E #222E6D #31429B #4559C4 #7383D3
Accessibility & contrast
On white
8.81
#31429B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#31429B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31429B
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31429B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31429B | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #31429b; /* rgb */ color: rgb(49, 66, 155); /* oklch */ color: oklch(42.0% 0.146 270.6);
Tailwind
colors: {
custom: {
50: '#7676b9',
500: '#31429b',
950: '#000000',
},
}SCSS
$custom: #31429b; $custom-light: #7676b9; $custom-dark: #000000;
JSON
{
"hex": "#31429b",
"rgb": {
"r": 49,
"g": 66,
"b": 155
},
"hsl": {
"h": 230.377,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.41957,
"c": 0.14588,
"h": 270.6
},
"luminance": 0.06916
}Semantic roles & 50–950 ramp
primary
#31429B
secondary
#BBAE6D
accent
#C44CDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80