#2E42AC#2E42AC
#2E42AC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.170 H 269.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E42AC |
|---|---|
| RGB | rgb(46, 66, 172) |
| HSL | hsl(230, 58%, 43%) |
| HSV | hsv(230, 73%, 67%) |
| CMYK | cmyk(73.3%, 61.6%, 0%, 32.5%) |
| CIE-LAB | lab(32.82, 29.62, -58.95) |
| CIE-LCH | lch(32.82, 65.98, 296.68°) |
| OKLab | oklab(43.24% -0.0013 -0.1702) |
| OKLCH | oklch(43.24% 0.17 269.6) |
| XYZ | xyz(10.5188, 7.4547, 39.9063) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Blue Blue
#2242C7
ΔE00 3.56
Cobalt
#0047AB
ΔE00 4.20
Blueberry
#464196
ΔE00 4.98
Ocean Blue
#4F42B5
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E42AC #AC982E
analogous
#2E81AC #2E42AC #592EAC
triadic
#2E42AC #AC2E42 #42AC2E
tetradic
#2E42AC #AC2E81 #AC982E #2EAC59
square
#2E42AC #AC2E81 #AC982E #2EAC59
split-complementary
#2E42AC #AC592E #81AC2E
monochromatic
#141D4B #212F7C #2E42AC #495ECE #7989DB
Accessibility & contrast
On white
8.43
#2E42AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2E42AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E42AC
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E42AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E42AC | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e42ac; /* rgb */ color: rgb(46, 66, 172); /* oklch */ color: oklch(43.2% 0.170 269.6);
Tailwind
colors: {
custom: {
50: '#7976c6',
500: '#2e42ac',
950: '#000000',
},
}SCSS
$custom: #2e42ac; $custom-light: #7976c6; $custom-dark: #000000;
JSON
{
"hex": "#2e42ac",
"rgb": {
"r": 46,
"g": 66,
"b": 172
},
"hsl": {
"h": 230.476,
"s": 57.798,
"l": 42.745
},
"oklch": {
"l": 0.4324,
"c": 0.17024,
"h": 269.6
},
"luminance": 0.07456
}Semantic roles & 50–950 ramp
primary
#2E42AC
secondary
#C3B772
accent
#C947E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82