#31429C#31429C
#31429C is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.147 H 270.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #31429C |
|---|---|
| RGB | rgb(49, 66, 156) |
| HSL | hsl(230, 52%, 40%) |
| HSV | hsv(230, 69%, 61%) |
| CMYK | cmyk(68.6%, 57.7%, 0%, 38.8%) |
| CIE-LAB | lab(31.69, 24.12, -51.16) |
| CIE-LCH | lch(31.69, 56.57, 295.24°) |
| OKLab | oklab(42.04% 0.0017 -0.1473) |
| OKLCH | oklch(42.04% 0.147 270.6) |
| XYZ | xyz(9.2136, 6.9488, 32.3017) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 3.96
Cobalt
#0047AB
ΔE00 4.51
Cobalt (survey)
#1E488F
ΔE00 5.00
Darkslateblue
#483D8B
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31429C #9C8B31
analogous
#31789C #31429C #55319C
triadic
#31429C #9C3142 #429C31
tetradic
#31429C #9C3178 #9C8B31 #319C55
square
#31429C #9C3178 #9C8B31 #319C55
split-complementary
#31429C #9C5531 #789C31
monochromatic
#141B3F #222E6D #31429C #455AC5 #7483D3
Accessibility & contrast
On white
8.79
#31429C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#31429C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31429C
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31429C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31429C | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #31429c; /* rgb */ color: rgb(49, 66, 156); /* oklch */ color: oklch(42.0% 0.147 270.6);
Tailwind
colors: {
custom: {
50: '#7676ba',
500: '#31429c',
950: '#000000',
},
}SCSS
$custom: #31429c; $custom-light: #7676ba; $custom-dark: #000000;
JSON
{
"hex": "#31429c",
"rgb": {
"r": 49,
"g": 66,
"b": 156
},
"hsl": {
"h": 230.467,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.42039,
"c": 0.1473,
"h": 270.6
},
"luminance": 0.0695
}Semantic roles & 50–950 ramp
primary
#31429C
secondary
#BBAF6D
accent
#C54CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81