#2E4DAF#2E4DAF
#2E4DAF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.161 H 266.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DAF |
|---|---|
| RGB | rgb(46, 77, 175) |
| HSL | hsl(226, 58%, 43%) |
| HSV | hsv(226, 74%, 69%) |
| CMYK | cmyk(73.7%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(35.95, 23.49, -55.64) |
| CIE-LCH | lch(35.95, 60.40, 292.89°) |
| OKLab | oklab(45.65% -0.0095 -0.1604) |
| OKLCH | oklch(45.65% 0.161 266.6) |
| XYZ | xyz(11.5158, 8.9825, 41.6760) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.19
Sapphire
#0F52BA
ΔE00 3.24
Blue Blue
#2242C7
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.21
Dusk Blue
#26538D
ΔE00 6.15
Denim Blue
#3B5B92
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DAF #AF902E
analogous
#2E8DAF #2E4DAF #4F2EAF
triadic
#2E4DAF #AF2E4D #4DAF2E
tetradic
#2E4DAF #AF2E8D #AF902E #2EAF4F
square
#2E4DAF #AF2E8D #AF902E #2EAF4F
split-complementary
#2E4DAF #AF4F2E #8DAF2E
monochromatic
#15224E #21387F #2E4DAF #4B6BD0 #7B92DC
Accessibility & contrast
On white
7.51
#2E4DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2E4DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DAF
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DAF | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4daf; /* rgb */ color: rgb(46, 77, 175); /* oklch */ color: oklch(45.7% 0.161 266.6);
Tailwind
colors: {
custom: {
50: '#797ec8',
500: '#2e4daf',
950: '#000000',
},
}SCSS
$custom: #2e4daf; $custom-light: #797ec8; $custom-dark: #000000;
JSON
{
"hex": "#2e4daf",
"rgb": {
"r": 46,
"g": 77,
"b": 175
},
"hsl": {
"h": 225.581,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.45652,
"c": 0.16064,
"h": 266.6
},
"luminance": 0.08984
}Semantic roles & 50–950 ramp
primary
#2E4DAF
secondary
#C5B174
accent
#BC46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82