#2E4BA7#2E4BA7
#2E4BA7 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.152 H 266.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4BA7 |
|---|---|
| RGB | rgb(46, 75, 167) |
| HSL | hsl(226, 57%, 42%) |
| HSV | hsv(226, 72%, 65%) |
| CMYK | cmyk(72.5%, 55.1%, 0%, 34.5%) |
| CIE-LAB | lab(34.81, 21.80, -52.74) |
| CIE-LCH | lch(34.81, 57.06, 292.46°) |
| OKLab | oklab(44.6% -0.0084 -0.1519) |
| OKLCH | oklch(44.6% 0.152 266.8) |
| XYZ | xyz(10.6154, 8.4019, 37.6140) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Sapphire
#0F52BA
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.26
Blue Blue
#2242C7
ΔE00 5.38
Dusk Blue
#26538D
ΔE00 5.79
Sapphire (survey)
#2138AB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4BA7 #A78A2E
analogous
#2E88A7 #2E4BA7 #4E2EA7
triadic
#2E4BA7 #A72E4B #4BA72E
tetradic
#2E4BA7 #A72E88 #A78A2E #2EA74E
square
#2E4BA7 #A72E88 #A78A2E #2EA74E
split-complementary
#2E4BA7 #A74E2E #88A72E
monochromatic
#142047 #213577 #2E4BA7 #4666CC #768ED9
Accessibility & contrast
On white
7.83
#2E4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2E4BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4BA7
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4BA7 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e4ba7; /* rgb */ color: rgb(46, 75, 167); /* oklch */ color: oklch(44.6% 0.152 266.8);
Tailwind
colors: {
custom: {
50: '#777cc2',
500: '#2e4ba7',
950: '#000000',
},
}SCSS
$custom: #2e4ba7; $custom-light: #777cc2; $custom-dark: #000000;
JSON
{
"hex": "#2e4ba7",
"rgb": {
"r": 46,
"g": 75,
"b": 167
},
"hsl": {
"h": 225.62,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.44601,
"c": 0.15208,
"h": 266.8
},
"luminance": 0.08403
}Semantic roles & 50–950 ramp
primary
#2E4BA7
secondary
#C1AE70
accent
#BC48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81