#2E5397#2E5397
#2E5397 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.119 H 261.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5397 |
|---|---|
| RGB | rgb(46, 83, 151) |
| HSL | hsl(219, 53%, 39%) |
| HSV | hsv(219, 70%, 59%) |
| CMYK | cmyk(69.5%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(35.99, 10.41, -41.22) |
| CIE-LCH | lch(35.99, 42.52, 284.18°) |
| OKLab | oklab(45.15% -0.0178 -0.1178) |
| OKLCH | oklch(45.15% 0.119 261.4) |
| XYZ | xyz(9.8039, 9.0007, 30.4928) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.18
Denim Blue
#3B5B92
ΔE00 2.92
Cobalt (survey)
#1E488F
ΔE00 3.64
Light Navy Blue
#2E5A88
ΔE00 4.00
Sapphire
#0F52BA
ΔE00 4.44
Light Navy
#155084
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5397 #97722E
analogous
#2E8797 #2E5397 #3D2E97
triadic
#2E5397 #972E53 #53972E
tetradic
#2E5397 #972E87 #97722E #2E973D
square
#2E5397 #972E87 #97722E #2E973D
split-complementary
#2E5397 #973D2E #87972E
monochromatic
#111F39 #203968 #2E5397 #3E6DC4 #6D91D2
Accessibility & contrast
On white
7.50
#2E5397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2E5397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5397
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5397 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#1F5096
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e5397; /* rgb */ color: rgb(46, 83, 151); /* oklch */ color: oklch(45.1% 0.119 261.4);
Tailwind
colors: {
custom: {
50: '#7382b6',
500: '#2e5397',
950: '#000000',
},
}SCSS
$custom: #2e5397; $custom-light: #7382b6; $custom-dark: #000000;
JSON
{
"hex": "#2e5397",
"rgb": {
"r": 46,
"g": 83,
"b": 151
},
"hsl": {
"h": 218.857,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.4515,
"c": 0.11916,
"h": 261.4
},
"luminance": 0.09002
}Semantic roles & 50–950 ramp
primary
#2E5397
secondary
#BA9D67
accent
#A94BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80