#2E3EAB#2E3EAB
#2E3EAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.174 H 270.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3EAB |
|---|---|
| RGB | rgb(46, 62, 171) |
| HSL | hsl(232, 58%, 43%) |
| HSV | hsv(232, 73%, 67%) |
| CMYK | cmyk(73.1%, 63.7%, 0%, 32.9%) |
| CIE-LAB | lab(31.73, 31.86, -60.14) |
| CIE-LCH | lch(31.73, 68.06, 297.91°) |
| OKLab | oklab(42.41% 0.0016 -0.1738) |
| OKLCH | oklch(42.41% 0.174 270.5) |
| XYZ | xyz(10.1975, 6.9653, 39.3272) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.87
Blue Blue
#2242C7
ΔE00 3.83
Blueberry
#464196
ΔE00 4.80
Ocean Blue
#4F42B5
ΔE00 4.83
Cobalt
#0047AB
ΔE00 5.14
Blue With A Hint Of Purple
#533CC6
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3EAB #AB9B2E
analogous
#2E7DAB #2E3EAB #5C2EAB
triadic
#2E3EAB #AB2E3E #3EAB2E
tetradic
#2E3EAB #AB2E7D #AB9B2E #2EAB5C
square
#2E3EAB #AB2E7D #AB9B2E #2EAB5C
split-complementary
#2E3EAB #AB5C2E #7DAB2E
monochromatic
#141B4B #212D7B #2E3EAB #4859CE #7985DB
Accessibility & contrast
On white
8.77
#2E3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2E3EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3EAB
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3EAB | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e3eab; /* rgb */ color: rgb(46, 62, 171); /* oklch */ color: oklch(42.4% 0.174 270.5);
Tailwind
colors: {
custom: {
50: '#7973c5',
500: '#2e3eab',
950: '#000000',
},
}SCSS
$custom: #2e3eab; $custom-light: #7973c5; $custom-dark: #000000;
JSON
{
"hex": "#2e3eab",
"rgb": {
"r": 46,
"g": 62,
"b": 171
},
"hsl": {
"h": 232.32,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.42408,
"c": 0.17377,
"h": 270.5
},
"luminance": 0.06966
}Semantic roles & 50–950 ramp
primary
#2E3EAB
secondary
#C3B972
accent
#CD47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82