#2E4AAE#2E4AAE
#2E4AAE is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.163 H 267.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AAE |
|---|---|
| RGB | rgb(46, 74, 174) |
| HSL | hsl(227, 58%, 43%) |
| HSV | hsv(227, 74%, 68%) |
| CMYK | cmyk(73.6%, 57.5%, 0%, 31.8%) |
| CIE-LAB | lab(35.07, 25.10, -56.48) |
| CIE-LCH | lch(35.07, 61.81, 293.96°) |
| OKLab | oklab(44.97% -0.0072 -0.1629) |
| OKLCH | oklch(44.97% 0.163 267.5) |
| XYZ | xyz(11.2128, 8.5332, 41.0923) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Sapphire
#0F52BA
ΔE00 4.07
Blue Blue
#2242C7
ΔE00 4.28
Cobalt (survey)
#1E488F
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.46
Blueberry
#464196
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AAE #AE922E
analogous
#2E8AAE #2E4AAE #522EAE
triadic
#2E4AAE #AE2E4A #4AAE2E
tetradic
#2E4AAE #AE2E8A #AE922E #2EAE52
square
#2E4AAE #AE2E8A #AE922E #2EAE52
split-complementary
#2E4AAE #AE522E #8AAE2E
monochromatic
#14214D #21357E #2E4AAE #4A67CF #7A90DC
Accessibility & contrast
On white
7.76
#2E4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2E4AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AAE
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AAE | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e4aae; /* rgb */ color: rgb(46, 74, 174); /* oklch */ color: oklch(45.0% 0.163 267.5);
Tailwind
colors: {
custom: {
50: '#797cc7',
500: '#2e4aae',
950: '#000000',
},
}SCSS
$custom: #2e4aae; $custom-light: #797cc7; $custom-dark: #000000;
JSON
{
"hex": "#2e4aae",
"rgb": {
"r": 46,
"g": 74,
"b": 174
},
"hsl": {
"h": 226.875,
"s": 58.182,
"l": 43.137
},
"oklch": {
"l": 0.44966,
"c": 0.16303,
"h": 267.5
},
"luminance": 0.08534
}Semantic roles & 50–950 ramp
primary
#2E4AAE
secondary
#C4B374
accent
#BF46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82