#2E4B8A#2E4B8A
#2E4B8A is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.110 H 263.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4B8A |
|---|---|
| RGB | rgb(46, 75, 138) |
| HSL | hsl(221, 50%, 36%) |
| HSV | hsv(221, 67%, 54%) |
| CMYK | cmyk(66.7%, 45.7%, 0%, 45.9%) |
| CIE-LAB | lab(32.80, 10.83, -38.39) |
| CIE-LCH | lch(32.80, 39.89, 285.75°) |
| OKLab | oklab(42.44% -0.012 -0.1097) |
| OKLCH | oklch(42.44% 0.11 263.8) |
| XYZ | xyz(8.2286, 7.4472, 25.0436) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.03
Dusk Blue
#26538D
ΔE00 3.78
Darkish Blue
#014182
ΔE00 4.63
Twilight Blue
#0A437A
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.03
Light Navy
#155084
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4B8A #8A6D2E
analogous
#2E798A #2E4B8A #3F2E8A
triadic
#2E4B8A #8A2E4B #4B8A2E
tetradic
#2E4B8A #8A2E79 #8A6D2E #2E8A3F
square
#2E4B8A #8A2E79 #8A6D2E #2E8A3F
split-complementary
#2E4B8A #8A3F2E #798A2E
monochromatic
#0F192E #1F325C #2E4B8A #3D64B8 #6686CC
Accessibility & contrast
On white
8.44
#2E4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2E4B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4B8A
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4B8A | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e4b8a; /* rgb */ color: rgb(46, 75, 138); /* oklch */ color: oklch(42.4% 0.110 263.8);
Tailwind
colors: {
custom: {
50: '#717cac',
500: '#2e4b8a',
950: '#000000',
},
}SCSS
$custom: #2e4b8a; $custom-light: #717cac; $custom-dark: #000000;
JSON
{
"hex": "#2e4b8a",
"rgb": {
"r": 46,
"g": 75,
"b": 138
},
"hsl": {
"h": 221.087,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.42437,
"c": 0.11031,
"h": 263.8
},
"luminance": 0.07448
}Semantic roles & 50–950 ramp
primary
#2E4B8A
secondary
#B39961
accent
#AE4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F