#2E429D#2E429D
#2E429D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.150 H 269.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2E429D |
|---|---|
| RGB | rgb(46, 66, 157) |
| HSL | hsl(229, 55%, 40%) |
| HSV | hsv(229, 71%, 62%) |
| CMYK | cmyk(70.7%, 58%, 0%, 38.4%) |
| CIE-LAB | lab(31.60, 24.04, -51.92) |
| CIE-LCH | lch(31.60, 57.22, 294.85°) |
| OKLab | oklab(41.95% -0.0014 -0.1496) |
| OKLCH | oklch(41.95% 0.15 269.5) |
| XYZ | xyz(9.1586, 6.9107, 32.7430) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.87
Cobalt
#0047AB
ΔE00 4.11
Blueberry
#464196
ΔE00 4.31
Cobalt (survey)
#1E488F
ΔE00 4.74
Blue Blue
#2242C7
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E429D #9D892E
analogous
#2E7A9D #2E429D #512E9D
triadic
#2E429D #9D2E42 #429D2E
tetradic
#2E429D #9D2E7A #9D892E #2E9D51
square
#2E429D #9D2E7A #9D892E #2E9D51
split-complementary
#2E429D #9D512E #7A9D2E
monochromatic
#121A3E #202E6E #2E429D #4159C7 #7082D5
Accessibility & contrast
On white
8.81
#2E429D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2E429D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E429D
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E429D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E429D | 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)
#0050A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e429d; /* rgb */ color: rgb(46, 66, 157); /* oklch */ color: oklch(42.0% 0.150 269.5);
Tailwind
colors: {
custom: {
50: '#7576bb',
500: '#2e429d',
950: '#000000',
},
}SCSS
$custom: #2e429d; $custom-light: #7576bb; $custom-dark: #000000;
JSON
{
"hex": "#2e429d",
"rgb": {
"r": 46,
"g": 66,
"b": 157
},
"hsl": {
"h": 229.189,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.41954,
"c": 0.14959,
"h": 269.5
},
"luminance": 0.06912
}Semantic roles & 50–950 ramp
primary
#2E429D
secondary
#BDAE6A
accent
#C34ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81