#2E4F8F#2E4F8F
#2E4F8F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.113 H 262.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4F8F |
|---|---|
| RGB | rgb(46, 79, 143) |
| HSL | hsl(220, 51%, 37%) |
| HSV | hsv(220, 68%, 56%) |
| CMYK | cmyk(67.8%, 44.8%, 0%, 43.9%) |
| CIE-LAB | lab(34.30, 10.04, -39.06) |
| CIE-LCH | lch(34.30, 40.33, 284.42°) |
| OKLab | oklab(43.69% -0.0152 -0.1115) |
| OKLCH | oklch(43.69% 0.113 262.2) |
| XYZ | xyz(8.8789, 8.1551, 27.0875) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.48
Dusk Blue
#26538D
ΔE00 2.57
Denim Blue
#3B5B92
ΔE00 3.98
Light Navy
#155084
ΔE00 4.60
Light Navy Blue
#2E5A88
ΔE00 4.83
Cobalt
#0047AB
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4F8F #8F6E2E
analogous
#2E808F #2E4F8F #3E2E8F
triadic
#2E4F8F #8F2E4F #4F8F2E
tetradic
#2E4F8F #8F2E80 #8F6E2E #2E8F3E
square
#2E4F8F #8F2E80 #8F6E2E #2E8F3E
split-complementary
#2E4F8F #8F3E2E #808F2E
monochromatic
#101C32 #1F3561 #2E4F8F #3D69BD #698BCF
Accessibility & contrast
On white
7.98
#2E4F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2E4F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4F8F
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4F8F | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#204D8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e4f8f; /* rgb */ color: rgb(46, 79, 143); /* oklch */ color: oklch(43.7% 0.113 262.2);
Tailwind
colors: {
custom: {
50: '#727fb0',
500: '#2e4f8f',
950: '#000000',
},
}SCSS
$custom: #2e4f8f; $custom-light: #727fb0; $custom-dark: #000000;
JSON
{
"hex": "#2e4f8f",
"rgb": {
"r": 46,
"g": 79,
"b": 143
},
"hsl": {
"h": 219.588,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.43692,
"c": 0.11258,
"h": 262.2
},
"luminance": 0.08156
}Semantic roles & 50–950 ramp
primary
#2E4F8F
secondary
#B69A63
accent
#AB4DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F