#2E3C97#2E3C97
#2E3C97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.149 H 271.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3C97 |
|---|---|
| RGB | rgb(46, 60, 151) |
| HSL | hsl(232, 53%, 39%) |
| HSV | hsv(232, 70%, 59%) |
| CMYK | cmyk(69.5%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.53, 25.82, -51.65) |
| CIE-LCH | lch(29.53, 57.74, 296.56°) |
| OKLab | oklab(40.26% 0.0035 -0.1488) |
| OKLCH | oklch(40.26% 0.149 271.4) |
| XYZ | xyz(8.3266, 6.0461, 30.0004) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.32
Blueberry
#464196
ΔE00 3.89
Darkslateblue
#483D8B
ΔE00 5.16
Cobalt
#0047AB
ΔE00 5.76
Cobalt (survey)
#1E488F
ΔE00 6.06
Blue Blue
#2242C7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3C97 #97892E
analogous
#2E7097 #2E3C97 #542E97
triadic
#2E3C97 #972E3C #3C972E
tetradic
#2E3C97 #972E70 #97892E #2E9754
square
#2E3C97 #972E70 #97892E #2E9754
split-complementary
#2E3C97 #97542E #70972E
monochromatic
#111739 #202968 #2E3C97 #3E50C4 #6D7AD2
Accessibility & contrast
On white
9.50
#2E3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2E3C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3C97
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3C97 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e3c97; /* rgb */ color: rgb(46, 60, 151); /* oklch */ color: oklch(40.3% 0.149 271.4);
Tailwind
colors: {
custom: {
50: '#7471b6',
500: '#2e3c97',
950: '#000000',
},
}SCSS
$custom: #2e3c97; $custom-light: #7471b6; $custom-dark: #000000;
JSON
{
"hex": "#2e3c97",
"rgb": {
"r": 46,
"g": 60,
"b": 151
},
"hsl": {
"h": 232,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.40257,
"c": 0.14889,
"h": 271.4
},
"luminance": 0.06047
}Semantic roles & 50–950 ramp
primary
#2E3C97
secondary
#BAAF67
accent
#C94BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80