#2D207C#2D207C
#2D207C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.147 H 280.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2D207C |
|---|---|
| RGB | rgb(45, 32, 124) |
| HSL | hsl(248, 59%, 31%) |
| HSV | hsv(248, 74%, 49%) |
| CMYK | cmyk(63.7%, 74.2%, 0%, 51.4%) |
| CIE-LAB | lab(20.23, 34.10, -50.04) |
| CIE-LCH | lch(20.23, 60.55, 304.27°) |
| OKLab | oklab(32.71% 0.0279 -0.1443) |
| OKLCH | oklch(32.71% 0.147 280.9) |
| XYZ | xyz(5.2356, 3.0458, 19.3769) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.17
Royal
#0C1793
ΔE00 4.78
Indigo (survey)
#380282
ΔE00 5.56
Dark Royal Blue
#02066F
ΔE00 6.36
Deep Blue
#040273
ΔE00 6.67
Navy
#000080
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D207C #6F7C20
analogous
#20417C #2D207C #5B207C
triadic
#2D207C #7C2D20 #207C2D
tetradic
#2D207C #7C2041 #6F7C20 #207C5B
square
#2D207C #7C2041 #6F7C20 #207C5B
split-complementary
#2D207C #7C5B20 #417C20
monochromatic
#0A071B #1B134B #2D207C #3F2DAD #5A47CF
Accessibility & contrast
On white
13.05
#2D207C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2D207C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D207C
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D207C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D207C | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2d207c; /* rgb */ color: rgb(45, 32, 124); /* oklch */ color: oklch(32.7% 0.147 280.9);
Tailwind
colors: {
custom: {
50: '#715da3',
500: '#2d207c',
950: '#000000',
},
}SCSS
$custom: #2d207c; $custom-light: #715da3; $custom-dark: #000000;
JSON
{
"hex": "#2d207c",
"rgb": {
"r": 45,
"g": 32,
"b": 124
},
"hsl": {
"h": 248.478,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.32707,
"c": 0.14695,
"h": 280.9
},
"luminance": 0.03046
}Semantic roles & 50–950 ramp
primary
#2D207C
secondary
#A1AF49
accent
#E246CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F