#2E4594#2E4594
#2E4594 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.133 H 268.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4594 |
|---|---|
| RGB | rgb(46, 69, 148) |
| HSL | hsl(226, 53%, 38%) |
| HSV | hsv(226, 69%, 58%) |
| CMYK | cmyk(68.9%, 53.4%, 0%, 42%) |
| CIE-LAB | lab(31.75, 18.64, -46.21) |
| CIE-LCH | lch(31.75, 49.83, 291.97°) |
| OKLab | oklab(41.85% -0.0046 -0.1327) |
| OKLCH | oklch(41.85% 0.133 268) |
| XYZ | xyz(8.5983, 6.9744, 28.9043) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.20
Cobalt
#0047AB
ΔE00 4.16
Blueberry
#464196
ΔE00 5.07
Darkish Blue
#014182
ΔE00 5.44
Sapphire (survey)
#2138AB
ΔE00 5.71
Dusk Blue
#26538D
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4594 #947D2E
analogous
#2E7894 #2E4594 #4A2E94
triadic
#2E4594 #942E45 #45942E
tetradic
#2E4594 #942E78 #947D2E #2E944A
square
#2E4594 #942E78 #947D2E #2E944A
split-complementary
#2E4594 #944A2E #78942E
monochromatic
#111937 #1F2F65 #2E4594 #3D5BC3 #6B82D1
Accessibility & contrast
On white
8.77
#2E4594 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2E4594 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4594
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4594 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4594 | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#125097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e4594; /* rgb */ color: rgb(46, 69, 148); /* oklch */ color: oklch(41.8% 0.133 268.0);
Tailwind
colors: {
custom: {
50: '#7378b4',
500: '#2e4594',
950: '#000000',
},
}SCSS
$custom: #2e4594; $custom-light: #7378b4; $custom-dark: #000000;
JSON
{
"hex": "#2e4594",
"rgb": {
"r": 46,
"g": 69,
"b": 148
},
"hsl": {
"h": 226.471,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.41849,
"c": 0.13283,
"h": 268
},
"luminance": 0.06975
}Semantic roles & 50–950 ramp
primary
#2E4594
secondary
#B8A666
accent
#BB4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80