#2E207E#2E207E
#2E207E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.149 H 281.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2E207E |
|---|---|
| RGB | rgb(46, 32, 126) |
| HSL | hsl(249, 59%, 31%) |
| HSV | hsv(249, 75%, 49%) |
| CMYK | cmyk(63.5%, 74.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.52, 34.91, -50.83) |
| CIE-LCH | lch(20.52, 61.66, 304.48°) |
| OKLab | oklab(33% 0.029 -0.1466) |
| OKLCH | oklch(33% 0.149 281.2) |
| XYZ | xyz(5.4079, 3.1198, 20.0518) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.44
Royal
#0C1793
ΔE00 4.58
Indigo (survey)
#380282
ΔE00 5.39
Dark Royal Blue
#02066F
ΔE00 6.46
Darkblue
#00008B
ΔE00 6.59
Navy
#000080
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E207E #707E20
analogous
#20417E #2E207E #5D207E
triadic
#2E207E #7E2E20 #207E2E
tetradic
#2E207E #7E2041 #707E20 #207E5D
square
#2E207E #7E2041 #707E20 #207E5D
split-complementary
#2E207E #7E5D20 #417E20
monochromatic
#0A071C #1C144D #2E207E #402CAF #5C48D0
Accessibility & contrast
On white
12.93
#2E207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2E207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E207E
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E207E | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2e207e; /* rgb */ color: rgb(46, 32, 126); /* oklch */ color: oklch(33.0% 0.149 281.2);
Tailwind
colors: {
custom: {
50: '#725da4',
500: '#2e207e',
950: '#000000',
},
}SCSS
$custom: #2e207e; $custom-light: #725da4; $custom-dark: #000000;
JSON
{
"hex": "#2e207e",
"rgb": {
"r": 46,
"g": 32,
"b": 126
},
"hsl": {
"h": 248.936,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.32998,
"c": 0.14939,
"h": 281.2
},
"luminance": 0.0312
}Semantic roles & 50–950 ramp
primary
#2E207E
secondary
#A1B149
accent
#E345CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F