#2E429E#2E429E
#2E429E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.151 H 269.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2E429E |
|---|---|
| RGB | rgb(46, 66, 158) |
| HSL | hsl(229, 55%, 40%) |
| HSV | hsv(229, 71%, 62%) |
| CMYK | cmyk(70.9%, 58.2%, 0%, 38%) |
| CIE-LAB | lab(31.68, 24.42, -52.40) |
| CIE-LCH | lch(31.68, 57.81, 294.99°) |
| OKLab | oklab(42.04% -0.0014 -0.151) |
| OKLCH | oklch(42.04% 0.151 269.5) |
| XYZ | xyz(9.2444, 6.9450, 33.1945) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.08
Blueberry
#464196
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E429E #9E8A2E
analogous
#2E7A9E #2E429E #522E9E
triadic
#2E429E #9E2E42 #429E2E
tetradic
#2E429E #9E2E7A #9E8A2E #2E9E52
square
#2E429E #9E2E7A #9E8A2E #2E9E52
split-complementary
#2E429E #9E522E #7A9E2E
monochromatic
#121A3F #202E6F #2E429E #4159C8 #7183D6
Accessibility & contrast
On white
8.79
#2E429E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2E429E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E429E
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E429E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E429E | 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)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e429e; /* rgb */ color: rgb(46, 66, 158); /* oklch */ color: oklch(42.0% 0.151 269.5);
Tailwind
colors: {
custom: {
50: '#7676bb',
500: '#2e429e',
950: '#000000',
},
}SCSS
$custom: #2e429e; $custom-light: #7676bb; $custom-dark: #000000;
JSON
{
"hex": "#2e429e",
"rgb": {
"r": 46,
"g": 66,
"b": 158
},
"hsl": {
"h": 229.286,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.42037,
"c": 0.15099,
"h": 269.5
},
"luminance": 0.06946
}Semantic roles & 50–950 ramp
primary
#2E429E
secondary
#BDAE6B
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81