#2E207D#2E207D
#2E207D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.148 H 281.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2E207D |
|---|---|
| RGB | rgb(46, 32, 125) |
| HSL | hsl(249, 59%, 31%) |
| HSV | hsv(249, 74%, 49%) |
| CMYK | cmyk(63.2%, 74.4%, 0%, 51%) |
| CIE-LAB | lab(20.42, 34.57, -50.36) |
| CIE-LCH | lch(20.42, 61.08, 304.47°) |
| OKLab | oklab(32.9% 0.0292 -0.1452) |
| OKLCH | oklch(32.9% 0.148 281.4) |
| XYZ | xyz(5.3437, 3.0942, 19.7137) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.35
Royal
#0C1793
ΔE00 4.71
Indigo (survey)
#380282
ΔE00 5.44
Dark Royal Blue
#02066F
ΔE00 6.44
Darkblue
#00008B
ΔE00 6.67
Navy
#000080
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E207D #6F7D20
analogous
#20407D #2E207D #5C207D
triadic
#2E207D #7D2E20 #207D2E
tetradic
#2E207D #7D2040 #6F7D20 #207D5C
square
#2E207D #7D2040 #6F7D20 #207D5C
split-complementary
#2E207D #7D5C20 #407D20
monochromatic
#0A071C #1C144C #2E207D #402CAE #5C47D0
Accessibility & contrast
On white
12.97
#2E207D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2E207D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E207D
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E207D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E207D | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2e207d; /* rgb */ color: rgb(46, 32, 125); /* oklch */ color: oklch(32.9% 0.148 281.4);
Tailwind
colors: {
custom: {
50: '#715da4',
500: '#2e207d',
950: '#000000',
},
}SCSS
$custom: #2e207d; $custom-light: #715da4; $custom-dark: #000000;
JSON
{
"hex": "#2e207d",
"rgb": {
"r": 46,
"g": 32,
"b": 125
},
"hsl": {
"h": 249.032,
"s": 59.236,
"l": 30.784
},
"oklch": {
"l": 0.32896,
"c": 0.14808,
"h": 281.4
},
"luminance": 0.03095
}Semantic roles & 50–950 ramp
primary
#2E207D
secondary
#A0B049
accent
#E245CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F