#2E4E8A#2E4E8A
#2E4E8A is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.107 H 261.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4E8A |
|---|---|
| RGB | rgb(46, 78, 138) |
| HSL | hsl(219, 50%, 36%) |
| HSV | hsv(219, 67%, 54%) |
| CMYK | cmyk(66.7%, 43.5%, 0%, 45.9%) |
| CIE-LAB | lab(33.70, 8.83, -36.97) |
| CIE-LCH | lch(33.70, 38.01, 283.43°) |
| OKLab | oklab(43.13% -0.0152 -0.1054) |
| OKLCH | oklch(43.13% 0.107 261.8) |
| XYZ | xyz(8.4369, 7.8638, 25.1131) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.39
Dusk Blue
#26538D
ΔE00 2.71
Denim Blue
#3B5B92
ΔE00 4.33
Light Navy
#155084
ΔE00 4.46
Darkish Blue
#014182
ΔE00 4.97
Light Navy Blue
#2E5A88
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4E8A #8A6A2E
analogous
#2E7C8A #2E4E8A #3C2E8A
triadic
#2E4E8A #8A2E4E #4E8A2E
tetradic
#2E4E8A #8A2E7C #8A6A2E #2E8A3C
square
#2E4E8A #8A2E7C #8A6A2E #2E8A3C
split-complementary
#2E4E8A #8A3C2E #7C8A2E
monochromatic
#0F1A2E #1F345C #2E4E8A #3D68B8 #668ACC
Accessibility & contrast
On white
8.16
#2E4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2E4E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4E8A
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4E8A | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e4e8a; /* rgb */ color: rgb(46, 78, 138); /* oklch */ color: oklch(43.1% 0.107 261.8);
Tailwind
colors: {
custom: {
50: '#717fac',
500: '#2e4e8a',
950: '#000000',
},
}SCSS
$custom: #2e4e8a; $custom-light: #717fac; $custom-dark: #000000;
JSON
{
"hex": "#2e4e8a",
"rgb": {
"r": 46,
"g": 78,
"b": 138
},
"hsl": {
"h": 219.13,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.43125,
"c": 0.10651,
"h": 261.8
},
"luminance": 0.07865
}Semantic roles & 50–950 ramp
primary
#2E4E8A
secondary
#B39661
accent
#A94EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F