#2E5EAA#2E5EAA
#2E5EAA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 48.9% C 0.133 H 259.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5EAA |
|---|---|
| RGB | rgb(46, 94, 170) |
| HSL | hsl(217, 57%, 42%) |
| HSV | hsv(217, 73%, 67%) |
| CMYK | cmyk(72.9%, 44.7%, 0%, 33.3%) |
| CIE-LAB | lab(40.39, 10.41, -45.52) |
| CIE-LCH | lch(40.39, 46.70, 282.88°) |
| OKLab | oklab(48.93% -0.0246 -0.1303) |
| OKLCH | oklch(48.93% 0.133 259.3) |
| XYZ | xyz(12.3825, 11.4872, 39.5871) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.49
Denim Blue
#3B5B92
ΔE00 3.48
Denim (survey)
#3B638C
ΔE00 4.23
Light Navy Blue
#2E5A88
ΔE00 4.40
Sapphire
#0F52BA
ΔE00 4.47
French Blue
#436BAD
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5EAA #AA7A2E
analogous
#2E9CAA #2E5EAA #3C2EAA
triadic
#2E5EAA #AA2E5E #5EAA2E
tetradic
#2E5EAA #AA2E9C #AA7A2E #2EAA3C
square
#2E5EAA #AA2E9C #AA7A2E #2EAA3C
split-complementary
#2E5EAA #AA3C2E #9CAA2E
monochromatic
#14294A #21437A #2E5EAA #487CCD #789EDA
Accessibility & contrast
On white
6.37
#2E5EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2E5EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5EAA
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5EAA | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#205AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2e5eaa; /* rgb */ color: rgb(46, 94, 170); /* oklch */ color: oklch(48.9% 0.133 259.3);
Tailwind
colors: {
custom: {
50: '#778bc4',
500: '#2e5eaa',
950: '#000000',
},
}SCSS
$custom: #2e5eaa; $custom-light: #778bc4; $custom-dark: #000000;
JSON
{
"hex": "#2e5eaa",
"rgb": {
"r": 46,
"g": 94,
"b": 170
},
"hsl": {
"h": 216.774,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.48928,
"c": 0.1326,
"h": 259.3
},
"luminance": 0.11489
}Semantic roles & 50–950 ramp
primary
#2E5EAA
secondary
#C3A371
accent
#A547E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82