#2E4D98#2E4D98
#2E4D98 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.128 H 264.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4D98 |
|---|---|
| RGB | rgb(46, 77, 152) |
| HSL | hsl(222, 54%, 39%) |
| HSV | hsv(222, 70%, 60%) |
| CMYK | cmyk(69.7%, 49.3%, 0%, 40.4%) |
| CIE-LAB | lab(34.30, 14.78, -44.52) |
| CIE-LCH | lch(34.30, 46.91, 288.36°) |
| OKLab | oklab(43.88% -0.0117 -0.1277) |
| OKLCH | oklch(43.88% 0.128 264.7) |
| XYZ | xyz(9.4461, 8.1547, 30.7759) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.53
Cobalt
#0047AB
ΔE00 3.73
Dusk Blue
#26538D
ΔE00 3.85
Sapphire
#0F52BA
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 4.82
Darkish Blue
#014182
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4D98 #98792E
analogous
#2E8298 #2E4D98 #442E98
triadic
#2E4D98 #982E4D #4D982E
tetradic
#2E4D98 #982E82 #98792E #2E9844
square
#2E4D98 #982E82 #98792E #2E9844
split-complementary
#2E4D98 #98442E #82982E
monochromatic
#121D3A #203569 #2E4D98 #3E66C5 #6D8BD3
Accessibility & contrast
On white
7.98
#2E4D98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2E4D98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4D98
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4D98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4D98 | 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)
#24569B
Deuteranopia (green-blind)
#084C96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e4d98; /* rgb */ color: rgb(46, 77, 152); /* oklch */ color: oklch(43.9% 0.128 264.7);
Tailwind
colors: {
custom: {
50: '#747eb7',
500: '#2e4d98',
950: '#000000',
},
}SCSS
$custom: #2e4d98; $custom-light: #747eb7; $custom-dark: #000000;
JSON
{
"hex": "#2e4d98",
"rgb": {
"r": 46,
"g": 77,
"b": 152
},
"hsl": {
"h": 222.453,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.4388,
"c": 0.12819,
"h": 264.7
},
"luminance": 0.08156
}Semantic roles & 50–950 ramp
primary
#2E4D98
secondary
#BAA268
accent
#B24BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80