#2E3E97#2E3E97
#2E3E97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.146 H 270.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3E97 |
|---|---|
| RGB | rgb(46, 62, 151) |
| HSL | hsl(231, 53%, 39%) |
| HSV | hsv(231, 70%, 59%) |
| CMYK | cmyk(69.5%, 58.9%, 0%, 40.8%) |
| CIE-LAB | lab(30.06, 24.48, -50.78) |
| CIE-LCH | lch(30.06, 56.38, 295.74°) |
| OKLab | oklab(40.65% 0.0018 -0.1463) |
| OKLCH | oklch(40.65% 0.146 270.7) |
| XYZ | xyz(8.4334, 6.2597, 30.0360) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Blueberry
#464196
ΔE00 3.92
Cobalt
#0047AB
ΔE00 5.27
Darkslateblue
#483D8B
ΔE00 5.34
Cobalt (survey)
#1E488F
ΔE00 5.45
Blue Blue
#2242C7
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3E97 #97872E
analogous
#2E7297 #2E3E97 #522E97
triadic
#2E3E97 #972E3E #3E972E
tetradic
#2E3E97 #972E72 #97872E #2E9752
square
#2E3E97 #972E72 #97872E #2E9752
split-complementary
#2E3E97 #97522E #72972E
monochromatic
#111739 #202B68 #2E3E97 #3E52C4 #6D7CD2
Accessibility & contrast
On white
9.33
#2E3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2E3E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3E97
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3E97 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e3e97; /* rgb */ color: rgb(46, 62, 151); /* oklch */ color: oklch(40.7% 0.146 270.7);
Tailwind
colors: {
custom: {
50: '#7473b6',
500: '#2e3e97',
950: '#000000',
},
}SCSS
$custom: #2e3e97; $custom-light: #7473b6; $custom-dark: #000000;
JSON
{
"hex": "#2e3e97",
"rgb": {
"r": 46,
"g": 62,
"b": 151
},
"hsl": {
"h": 230.857,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.40651,
"c": 0.1463,
"h": 270.7
},
"luminance": 0.0626
}Semantic roles & 50–950 ramp
primary
#2E3E97
secondary
#BAAD67
accent
#C74BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80