#31429F#31429F
#31429F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.152 H 270.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #31429F |
|---|---|
| RGB | rgb(49, 66, 159) |
| HSL | hsl(231, 53%, 41%) |
| HSV | hsv(231, 69%, 62%) |
| CMYK | cmyk(69.2%, 58.5%, 0%, 37.6%) |
| CIE-LAB | lab(31.92, 25.23, -52.60) |
| CIE-LCH | lch(31.92, 58.34, 295.63°) |
| OKLab | oklab(42.29% 0.0017 -0.1515) |
| OKLCH | oklch(42.29% 0.152 270.7) |
| XYZ | xyz(9.4707, 7.0517, 33.6562) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.67
Blueberry
#464196
ΔE00 3.95
Cobalt
#0047AB
ΔE00 4.41
Cobalt (survey)
#1E488F
ΔE00 5.25
Blue Blue
#2242C7
ΔE00 5.44
Darkslateblue
#483D8B
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31429F #9F8E31
analogous
#31799F #31429F #57319F
triadic
#31429F #9F3142 #429F31
tetradic
#31429F #9F3179 #9F8E31 #319F57
square
#31429F #9F3179 #9F8E31 #319F57
split-complementary
#31429F #9F5731 #799F31
monochromatic
#141B41 #232F70 #31429F #475BC6 #7684D5
Accessibility & contrast
On white
8.71
#31429F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#31429F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31429F
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31429F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31429F | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #31429f; /* rgb */ color: rgb(49, 66, 159); /* oklch */ color: oklch(42.3% 0.152 270.7);
Tailwind
colors: {
custom: {
50: '#7776bc',
500: '#31429f',
950: '#000000',
},
}SCSS
$custom: #31429f; $custom-light: #7776bc; $custom-dark: #000000;
JSON
{
"hex": "#31429f",
"rgb": {
"r": 49,
"g": 66,
"b": 159
},
"hsl": {
"h": 230.727,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.42288,
"c": 0.15152,
"h": 270.7
},
"luminance": 0.07053
}Semantic roles & 50–950 ramp
primary
#31429F
secondary
#BDB16F
accent
#C64CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81