#2E4E98#2E4E98
#2E4E98 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.127 H 264.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4E98 |
|---|---|
| RGB | rgb(46, 78, 152) |
| HSL | hsl(222, 54%, 39%) |
| HSV | hsv(222, 70%, 60%) |
| CMYK | cmyk(69.7%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(34.59, 14.11, -44.06) |
| CIE-LCH | lch(34.59, 46.27, 287.76°) |
| OKLab | oklab(44.1% -0.0127 -0.1263) |
| OKLCH | oklch(44.1% 0.127 264.3) |
| XYZ | xyz(9.5166, 8.2957, 30.7994) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.62
Dusk Blue
#26538D
ΔE00 3.54
Cobalt
#0047AB
ΔE00 3.86
Denim Blue
#3B5B92
ΔE00 4.49
Sapphire
#0F52BA
ΔE00 4.68
Light Navy
#155084
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4E98 #98782E
analogous
#2E8398 #2E4E98 #432E98
triadic
#2E4E98 #982E4E #4E982E
tetradic
#2E4E98 #982E83 #98782E #2E9843
square
#2E4E98 #982E83 #98782E #2E9843
split-complementary
#2E4E98 #98432E #83982E
monochromatic
#121E3A #203669 #2E4E98 #3E67C5 #6D8CD3
Accessibility & contrast
On white
7.90
#2E4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2E4E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4E98
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4E98 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#0D4D96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e4e98; /* rgb */ color: rgb(46, 78, 152); /* oklch */ color: oklch(44.1% 0.127 264.3);
Tailwind
colors: {
custom: {
50: '#747fb7',
500: '#2e4e98',
950: '#000000',
},
}SCSS
$custom: #2e4e98; $custom-light: #747fb7; $custom-dark: #000000;
JSON
{
"hex": "#2e4e98",
"rgb": {
"r": 46,
"g": 78,
"b": 152
},
"hsl": {
"h": 221.887,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.441,
"c": 0.12691,
"h": 264.3
},
"luminance": 0.08297
}Semantic roles & 50–950 ramp
primary
#2E4E98
secondary
#BAA168
accent
#B14BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80