#2E207A#2E207A
#2E207A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.144 H 281.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2E207A |
|---|---|
| RGB | rgb(46, 32, 122) |
| HSL | hsl(249, 58%, 30%) |
| HSV | hsv(249, 74%, 48%) |
| CMYK | cmyk(62.3%, 73.8%, 0%, 52.2%) |
| CIE-LAB | lab(20.12, 33.58, -48.94) |
| CIE-LCH | lch(20.12, 59.35, 304.46°) |
| OKLab | oklab(32.59% 0.0298 -0.141) |
| OKLCH | oklch(32.59% 0.144 281.9) |
| XYZ | xyz(5.1550, 3.0187, 18.7196) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.16
Royal
#0C1793
ΔE00 5.13
Indigo (survey)
#380282
ΔE00 5.61
Dark Royal Blue
#02066F
ΔE00 6.40
Deep Blue
#040273
ΔE00 6.74
Navy
#000080
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E207A #6C7A20
analogous
#203F7A #2E207A #5B207A
triadic
#2E207A #7A2E20 #207A2E
tetradic
#2E207A #7A203F #6C7A20 #207A5B
square
#2E207A #7A203F #6C7A20 #207A5B
split-complementary
#2E207A #7A5B20 #3F7A20
monochromatic
#090719 #1C134A #2E207A #402DAA #5B46CE
Accessibility & contrast
On white
13.09
#2E207A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2E207A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E207A
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E207A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E207A | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2e207a; /* rgb */ color: rgb(46, 32, 122); /* oklch */ color: oklch(32.6% 0.144 281.9);
Tailwind
colors: {
custom: {
50: '#715da1',
500: '#2e207a',
950: '#000000',
},
}SCSS
$custom: #2e207a; $custom-light: #715da1; $custom-dark: #000000;
JSON
{
"hex": "#2e207a",
"rgb": {
"r": 46,
"g": 32,
"b": 122
},
"hsl": {
"h": 249.333,
"s": 58.442,
"l": 30.196
},
"oklch": {
"l": 0.32592,
"c": 0.14415,
"h": 281.9
},
"luminance": 0.03019
}Semantic roles & 50–950 ramp
primary
#2E207A
secondary
#9EAD49
accent
#E246C9
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F