#2E5894#2E5894
#2E5894 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.109 H 257.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5894 |
|---|---|
| RGB | rgb(46, 88, 148) |
| HSL | hsl(215, 53%, 38%) |
| HSV | hsv(215, 69%, 58%) |
| CMYK | cmyk(68.9%, 40.5%, 0%, 42%) |
| CIE-LAB | lab(37.29, 6.01, -37.32) |
| CIE-LCH | lch(37.29, 37.80, 279.15°) |
| OKLab | oklab(46.1% -0.0235 -0.1063) |
| OKLCH | oklch(46.1% 0.109 257.6) |
| XYZ | xyz(9.9598, 9.6974, 29.3581) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.90
Denim Blue
#3B5B92
ΔE00 2.02
Light Navy Blue
#2E5A88
ΔE00 2.32
Light Navy
#155084
ΔE00 4.19
Denim (survey)
#3B638C
ΔE00 4.37
Dusky Blue
#475F94
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5894 #946A2E
analogous
#2E8B94 #2E5894 #372E94
triadic
#2E5894 #942E58 #58942E
tetradic
#2E5894 #942E8B #946A2E #2E9437
square
#2E5894 #942E8B #946A2E #2E9437
split-complementary
#2E5894 #94372E #8B942E
monochromatic
#112037 #1F3C65 #2E5894 #3D74C3 #6B95D1
Accessibility & contrast
On white
7.14
#2E5894 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2E5894 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5894
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5894 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5894 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5D96
Deuteranopia (green-blind)
#2D5393
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e5894; /* rgb */ color: rgb(46, 88, 148); /* oklch */ color: oklch(46.1% 0.109 257.6);
Tailwind
colors: {
custom: {
50: '#7386b4',
500: '#2e5894',
950: '#000000',
},
}SCSS
$custom: #2e5894; $custom-light: #7386b4; $custom-dark: #000000;
JSON
{
"hex": "#2e5894",
"rgb": {
"r": 46,
"g": 88,
"b": 148
},
"hsl": {
"h": 215.294,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.46103,
"c": 0.10887,
"h": 257.6
},
"luminance": 0.09698
}Semantic roles & 50–950 ramp
primary
#2E5894
secondary
#B89666
accent
#A14CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80