#2F207D#2F207D
#2F207D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.148 H 282.0°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F207D |
|---|---|
| RGB | rgb(47, 32, 125) |
| HSL | hsl(250, 59%, 31%) |
| HSV | hsv(250, 74%, 49%) |
| CMYK | cmyk(62.4%, 74.4%, 0%, 51%) |
| CIE-LAB | lab(20.51, 34.72, -50.20) |
| CIE-LCH | lch(20.51, 61.04, 304.67°) |
| OKLab | oklab(32.98% 0.0307 -0.1447) |
| OKLCH | oklch(32.98% 0.148 282) |
| XYZ | xyz(5.3893, 3.1177, 19.7158) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.46
Royal
#0C1793
ΔE00 4.79
Indigo (survey)
#380282
ΔE00 5.37
Dark Royal Blue
#02066F
ΔE00 6.50
Darkblue
#00008B
ΔE00 6.71
Navy
#000080
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F207D #6E7D20
analogous
#203F7D #2F207D #5D207D
triadic
#2F207D #7D2F20 #207D2F
tetradic
#2F207D #7D203F #6E7D20 #207D5D
square
#2F207D #7D203F #6E7D20 #207D5D
split-complementary
#2F207D #7D5D20 #3F7D20
monochromatic
#0A071C #1D144C #2F207D #412CAE #5D47D0
Accessibility & contrast
On white
12.93
#2F207D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2F207D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F207D
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F207D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F207D | 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)
#003480
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2f207d; /* rgb */ color: rgb(47, 32, 125); /* oklch */ color: oklch(33.0% 0.148 282.0);
Tailwind
colors: {
custom: {
50: '#725da4',
500: '#2f207d',
950: '#000000',
},
}SCSS
$custom: #2f207d; $custom-light: #725da4; $custom-dark: #000000;
JSON
{
"hex": "#2f207d",
"rgb": {
"r": 47,
"g": 32,
"b": 125
},
"hsl": {
"h": 249.677,
"s": 59.236,
"l": 30.784
},
"oklch": {
"l": 0.32984,
"c": 0.14792,
"h": 282
},
"luminance": 0.03118
}Semantic roles & 50–950 ramp
primary
#2F207D
secondary
#9FB049
accent
#E245C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F