#2E5796#2E5796
#2E5796 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.0% C 0.113 H 258.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5796 |
|---|---|
| RGB | rgb(46, 87, 150) |
| HSL | hsl(216, 53%, 38%) |
| HSV | hsv(216, 69%, 59%) |
| CMYK | cmyk(69.3%, 42%, 0%, 41.2%) |
| CIE-LAB | lab(37.11, 7.41, -38.82) |
| CIE-LCH | lch(37.11, 39.52, 280.81°) |
| OKLab | oklab(46% -0.022 -0.1107) |
| OKLCH | oklch(46% 0.113 258.8) |
| XYZ | xyz(10.0379, 9.5982, 30.1719) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.90
Denim Blue
#3B5B92
ΔE00 2.07
Light Navy Blue
#2E5A88
ΔE00 2.79
Light Navy
#155084
ΔE00 4.35
Dusky Blue
#475F94
ΔE00 4.41
Sapphire
#0F52BA
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5796 #966D2E
analogous
#2E8B96 #2E5796 #392E96
triadic
#2E5796 #962E57 #57962E
tetradic
#2E5796 #962E8B #966D2E #2E9639
square
#2E5796 #962E8B #966D2E #2E9639
split-complementary
#2E5796 #96392E #8B962E
monochromatic
#112138 #203C67 #2E5796 #3E72C4 #6C94D2
Accessibility & contrast
On white
7.19
#2E5796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2E5796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5796
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5796 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5D98
Deuteranopia (green-blind)
#295395
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e5796; /* rgb */ color: rgb(46, 87, 150); /* oklch */ color: oklch(46.0% 0.113 258.8);
Tailwind
colors: {
custom: {
50: '#7385b5',
500: '#2e5796',
950: '#000000',
},
}SCSS
$custom: #2e5796; $custom-light: #7385b5; $custom-dark: #000000;
JSON
{
"hex": "#2e5796",
"rgb": {
"r": 46,
"g": 87,
"b": 150
},
"hsl": {
"h": 216.346,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.46,
"c": 0.11288,
"h": 258.8
},
"luminance": 0.09599
}Semantic roles & 50–950 ramp
primary
#2E5796
secondary
#B99967
accent
#A34BDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80