#2E4AAB#2E4AAB
#2E4AAB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.159 H 267.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AAB |
|---|---|
| RGB | rgb(46, 74, 171) |
| HSL | hsl(227, 58%, 43%) |
| HSV | hsv(227, 73%, 67%) |
| CMYK | cmyk(73.1%, 56.7%, 0%, 32.9%) |
| CIE-LAB | lab(34.84, 23.97, -55.07) |
| CIE-LCH | lch(34.84, 60.06, 293.52°) |
| OKLab | oklab(44.72% -0.0073 -0.1587) |
| OKLCH | oklch(44.72% 0.159 267.4) |
| XYZ | xyz(10.9236, 8.4175, 39.5692) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.94
Sapphire
#0F52BA
ΔE00 4.13
Blue Blue
#2242C7
ΔE00 4.66
Cobalt (survey)
#1E488F
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 5.53
Blueberry
#464196
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AAB #AB8F2E
analogous
#2E89AB #2E4AAB #502EAB
triadic
#2E4AAB #AB2E4A #4AAB2E
tetradic
#2E4AAB #AB2E89 #AB8F2E #2EAB50
square
#2E4AAB #AB2E89 #AB8F2E #2EAB50
split-complementary
#2E4AAB #AB502E #89AB2E
monochromatic
#14204B #21357B #2E4AAB #4866CE #798FDB
Accessibility & contrast
On white
7.82
#2E4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2E4AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AAB
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AAB | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e4aab; /* rgb */ color: rgb(46, 74, 171); /* oklch */ color: oklch(44.7% 0.159 267.4);
Tailwind
colors: {
custom: {
50: '#787cc5',
500: '#2e4aab',
950: '#000000',
},
}SCSS
$custom: #2e4aab; $custom-light: #787cc5; $custom-dark: #000000;
JSON
{
"hex": "#2e4aab",
"rgb": {
"r": 46,
"g": 74,
"b": 171
},
"hsl": {
"h": 226.56,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.4472,
"c": 0.1589,
"h": 267.4
},
"luminance": 0.08419
}Semantic roles & 50–950 ramp
primary
#2E4AAB
secondary
#C3B172
accent
#BE47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82