#2E4AAF#2E4AAF
#2E4AAF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.164 H 267.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AAF |
|---|---|
| RGB | rgb(46, 74, 175) |
| HSL | hsl(227, 58%, 43%) |
| HSV | hsv(227, 74%, 69%) |
| CMYK | cmyk(73.7%, 57.7%, 0%, 31.4%) |
| CIE-LAB | lab(35.15, 25.47, -56.95) |
| CIE-LCH | lch(35.15, 62.39, 294.10°) |
| OKLab | oklab(45.05% -0.0071 -0.1642) |
| OKLCH | oklch(45.05% 0.164 267.5) |
| XYZ | xyz(11.3107, 8.5723, 41.6077) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.14
Sapphire
#0F52BA
ΔE00 4.06
Blue Blue
#2242C7
ΔE00 4.15
Cobalt (survey)
#1E488F
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AAF #AF932E
analogous
#2E8AAF #2E4AAF #522EAF
triadic
#2E4AAF #AF2E4A #4AAF2E
tetradic
#2E4AAF #AF2E8A #AF932E #2EAF52
square
#2E4AAF #AF2E8A #AF932E #2EAF52
split-complementary
#2E4AAF #AF522E #8AAF2E
monochromatic
#15214E #21367F #2E4AAF #4B67D0 #7B90DC
Accessibility & contrast
On white
7.74
#2E4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2E4AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AAF
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AAF | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e4aaf; /* rgb */ color: rgb(46, 74, 175); /* oklch */ color: oklch(45.0% 0.164 267.5);
Tailwind
colors: {
custom: {
50: '#797cc8',
500: '#2e4aaf',
950: '#000000',
},
}SCSS
$custom: #2e4aaf; $custom-light: #797cc8; $custom-dark: #000000;
JSON
{
"hex": "#2e4aaf",
"rgb": {
"r": 46,
"g": 74,
"b": 175
},
"hsl": {
"h": 226.977,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.45049,
"c": 0.16441,
"h": 267.5
},
"luminance": 0.08574
}Semantic roles & 50–950 ramp
primary
#2E4AAF
secondary
#C5B374
accent
#C046E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82