#2D207F#2D207F
#2D207F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.151 H 280.4°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2D207F |
|---|---|
| RGB | rgb(45, 32, 127) |
| HSL | hsl(248, 60%, 31%) |
| HSV | hsv(248, 75%, 50%) |
| CMYK | cmyk(64.6%, 74.8%, 0%, 50.2%) |
| CIE-LAB | lab(20.53, 35.10, -51.44) |
| CIE-LCH | lch(20.53, 62.28, 304.30°) |
| OKLab | oklab(33.02% 0.0273 -0.1484) |
| OKLCH | oklch(33.02% 0.151 280.4) |
| XYZ | xyz(5.4283, 3.1228, 20.3913) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.43
Royal
#0C1793
ΔE00 4.38
Indigo (survey)
#380282
ΔE00 5.42
Dark Royal Blue
#02066F
ΔE00 6.42
Darkblue
#00008B
ΔE00 6.47
Navy
#000080
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D207F #727F20
analogous
#20427F #2D207F #5C207F
triadic
#2D207F #7F2D20 #207F2D
tetradic
#2D207F #7F2042 #727F20 #207F5C
square
#2D207F #7F2042 #727F20 #207F5C
split-complementary
#2D207F #7F5C20 #427F20
monochromatic
#0A071D #1C144E #2D207F #3E2CB0 #5B48D1
Accessibility & contrast
On white
12.93
#2D207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2D207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D207F
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D207F | 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)
#003582
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2d207f; /* rgb */ color: rgb(45, 32, 127); /* oklch */ color: oklch(33.0% 0.151 280.4);
Tailwind
colors: {
custom: {
50: '#715da5',
500: '#2d207f',
950: '#000000',
},
}SCSS
$custom: #2d207f; $custom-light: #715da5; $custom-dark: #000000;
JSON
{
"hex": "#2d207f",
"rgb": {
"r": 45,
"g": 32,
"b": 127
},
"hsl": {
"h": 248.211,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.33015,
"c": 0.15088,
"h": 280.4
},
"luminance": 0.03123
}Semantic roles & 50–950 ramp
primary
#2D207F
secondary
#A3B249
accent
#E345CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F