#2E43A6#2E43A6
#2E43A6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.161 H 269.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2E43A6 |
|---|---|
| RGB | rgb(46, 67, 166) |
| HSL | hsl(230, 57%, 42%) |
| HSV | hsv(230, 72%, 65%) |
| CMYK | cmyk(72.3%, 59.6%, 0%, 34.9%) |
| CIE-LAB | lab(32.58, 26.74, -55.75) |
| CIE-LCH | lch(32.58, 61.83, 295.62°) |
| OKLab | oklab(42.91% -0.002 -0.1608) |
| OKLCH | oklch(42.91% 0.161 269.3) |
| XYZ | xyz(10.0144, 7.3473, 36.9594) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.45
Cobalt
#0047AB
ΔE00 3.80
Blue Blue
#2242C7
ΔE00 4.45
Blueberry
#464196
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 5.41
Ocean Blue
#4F42B5
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E43A6 #A6912E
analogous
#2E7FA6 #2E43A6 #552EA6
triadic
#2E43A6 #A62E43 #43A62E
tetradic
#2E43A6 #A62E7F #A6912E #2EA655
square
#2E43A6 #A62E7F #A6912E #2EA655
split-complementary
#2E43A6 #A6552E #7FA62E
monochromatic
#131C46 #213076 #2E43A6 #465DCC #7687D9
Accessibility & contrast
On white
8.50
#2E43A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2E43A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E43A6
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E43A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E43A6 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e43a6; /* rgb */ color: rgb(46, 67, 166); /* oklch */ color: oklch(42.9% 0.161 269.3);
Tailwind
colors: {
custom: {
50: '#7776c1',
500: '#2e43a6',
950: '#000000',
},
}SCSS
$custom: #2e43a6; $custom-light: #7776c1; $custom-dark: #000000;
JSON
{
"hex": "#2e43a6",
"rgb": {
"r": 46,
"g": 67,
"b": 166
},
"hsl": {
"h": 229.5,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.42911,
"c": 0.16082,
"h": 269.3
},
"luminance": 0.07348
}Semantic roles & 50–950 ramp
primary
#2E43A6
secondary
#C1B26F
accent
#C548E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81