#2D207E#2D207E
#2D207E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.150 H 280.6°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2D207E |
|---|---|
| RGB | rgb(45, 32, 126) |
| HSL | hsl(248, 59%, 31%) |
| HSV | hsv(248, 75%, 49%) |
| CMYK | cmyk(64.3%, 74.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.43, 34.76, -50.98) |
| CIE-LCH | lch(20.43, 61.70, 304.29°) |
| OKLab | oklab(32.91% 0.0275 -0.147) |
| OKLCH | oklch(32.91% 0.15 280.6) |
| XYZ | xyz(5.3634, 3.0969, 20.0497) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.34
Royal
#0C1793
ΔE00 4.51
Indigo (survey)
#380282
ΔE00 5.46
Dark Royal Blue
#02066F
ΔE00 6.40
Darkblue
#00008B
ΔE00 6.54
Navy
#000080
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D207E #717E20
analogous
#20427E #2D207E #5C207E
triadic
#2D207E #7E2D20 #207E2D
tetradic
#2D207E #7E2042 #717E20 #207E5C
square
#2D207E #7E2042 #717E20 #207E5C
split-complementary
#2D207E #7E5C20 #427E20
monochromatic
#0A071C #1C144D #2D207E #3E2CAF #5B48D0
Accessibility & contrast
On white
12.97
#2D207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2D207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D207E
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D207E | 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)
#003581
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2d207e; /* rgb */ color: rgb(45, 32, 126); /* oklch */ color: oklch(32.9% 0.150 280.6);
Tailwind
colors: {
custom: {
50: '#715da4',
500: '#2d207e',
950: '#000000',
},
}SCSS
$custom: #2d207e; $custom-light: #715da4; $custom-dark: #000000;
JSON
{
"hex": "#2d207e",
"rgb": {
"r": 45,
"g": 32,
"b": 126
},
"hsl": {
"h": 248.298,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.32912,
"c": 0.14958,
"h": 280.6
},
"luminance": 0.03097
}Semantic roles & 50–950 ramp
primary
#2D207E
secondary
#A3B149
accent
#E345CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F