#2E237F#2E237F
#2E237F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.147 H 280.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2E237F |
|---|---|
| RGB | rgb(46, 35, 127) |
| HSL | hsl(247, 57%, 32%) |
| HSV | hsv(247, 72%, 50%) |
| CMYK | cmyk(63.8%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(21.26, 33.45, -50.24) |
| CIE-LCH | lch(21.26, 60.35, 303.66°) |
| OKLab | oklab(33.56% 0.0264 -0.1448) |
| OKLCH | oklch(33.56% 0.147 280.3) |
| XYZ | xyz(5.5573, 3.3148, 20.4215) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.76
Royal
#0C1793
ΔE00 4.84
Indigo (survey)
#380282
ΔE00 6.13
Dark Royal Blue
#02066F
ΔE00 7.07
Darkblue
#00008B
ΔE00 7.18
Navy
#000080
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E237F #747F23
analogous
#23467F #2E237F #5C237F
triadic
#2E237F #7F2E23 #237F2E
tetradic
#2E237F #7F2346 #747F23 #237F5C
square
#2E237F #7F2346 #747F23 #237F5C
split-complementary
#2E237F #7F5C23 #467F23
monochromatic
#0B091F #1D164F #2E237F #3F30AF #5D4ECE
Accessibility & contrast
On white
12.63
#2E237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2E237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E237F
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E237F | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2e237f; /* rgb */ color: rgb(46, 35, 127); /* oklch */ color: oklch(33.6% 0.147 280.3);
Tailwind
colors: {
custom: {
50: '#715fa5',
500: '#2e237f',
950: '#000000',
},
}SCSS
$custom: #2e237f; $custom-light: #715fa5; $custom-dark: #000000;
JSON
{
"hex": "#2e237f",
"rgb": {
"r": 46,
"g": 35,
"b": 127
},
"hsl": {
"h": 247.174,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.3356,
"c": 0.14722,
"h": 280.3
},
"luminance": 0.03315
}Semantic roles & 50–950 ramp
primary
#2E237F
secondary
#A5B14C
accent
#E048CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F