#2E5795#2E5795
#2E5795 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 45.9% C 0.111 H 258.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5795 |
|---|---|
| RGB | rgb(46, 87, 149) |
| HSL | hsl(216, 53%, 38%) |
| HSV | hsv(216, 69%, 58%) |
| CMYK | cmyk(69.1%, 41.6%, 0%, 41.6%) |
| CIE-LAB | lab(37.05, 7.04, -38.31) |
| CIE-LCH | lch(37.05, 38.95, 280.41°) |
| OKLab | oklab(45.93% -0.0222 -0.1092) |
| OKLCH | oklch(45.93% 0.111 258.5) |
| XYZ | xyz(9.9578, 9.5662, 29.7496) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.81
Denim Blue
#3B5B92
ΔE00 2.07
Light Navy Blue
#2E5A88
ΔE00 2.68
Light Navy
#155084
ΔE00 4.25
Dusky Blue
#475F94
ΔE00 4.43
Denim (survey)
#3B638C
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5795 #956C2E
analogous
#2E8A95 #2E5795 #392E95
triadic
#2E5795 #952E57 #57952E
tetradic
#2E5795 #952E8A #956C2E #2E9539
square
#2E5795 #952E8A #956C2E #2E9539
split-complementary
#2E5795 #95392E #8A952E
monochromatic
#112037 #203C66 #2E5795 #3D72C3 #6C94D2
Accessibility & contrast
On white
7.21
#2E5795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2E5795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5795
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5795 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5C97
Deuteranopia (green-blind)
#2A5394
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e5795; /* rgb */ color: rgb(46, 87, 149); /* oklch */ color: oklch(45.9% 0.111 258.5);
Tailwind
colors: {
custom: {
50: '#7386b4',
500: '#2e5795',
950: '#000000',
},
}SCSS
$custom: #2e5795; $custom-light: #7386b4; $custom-dark: #000000;
JSON
{
"hex": "#2e5795",
"rgb": {
"r": 46,
"g": 87,
"b": 149
},
"hsl": {
"h": 216.117,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.45935,
"c": 0.11146,
"h": 258.5
},
"luminance": 0.09567
}Semantic roles & 50–950 ramp
primary
#2E5795
secondary
#B99866
accent
#A34CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80