#2F207F#2F207F
#2F207F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.151 H 281.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F207F |
|---|---|
| RGB | rgb(47, 32, 127) |
| HSL | hsl(249, 60%, 31%) |
| HSV | hsv(249, 75%, 50%) |
| CMYK | cmyk(63%, 74.8%, 0%, 50.2%) |
| CIE-LAB | lab(20.71, 35.38, -51.14) |
| CIE-LCH | lch(20.71, 62.19, 304.68°) |
| OKLab | oklab(33.19% 0.0302 -0.1474) |
| OKLCH | oklch(33.19% 0.151 281.6) |
| XYZ | xyz(5.5184, 3.1693, 20.3955) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.62
Royal
#0C1793
ΔE00 4.54
Indigo (survey)
#380282
ΔE00 5.28
Dark Royal Blue
#02066F
ΔE00 6.55
Darkblue
#00008B
ΔE00 6.56
Navy
#000080
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F207F #707F20
analogous
#20407F #2F207F #5E207F
triadic
#2F207F #7F2F20 #207F2F
tetradic
#2F207F #7F2040 #707F20 #207F5E
square
#2F207F #7F2040 #707F20 #207F5E
split-complementary
#2F207F #7F5E20 #407F20
monochromatic
#0B071D #1D144E #2F207F #412CB0 #5E48D1
Accessibility & contrast
On white
12.85
#2F207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2F207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F207F
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F207F | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2f207f; /* rgb */ color: rgb(47, 32, 127); /* oklch */ color: oklch(33.2% 0.151 281.6);
Tailwind
colors: {
custom: {
50: '#725da5',
500: '#2f207f',
950: '#000000',
},
}SCSS
$custom: #2f207f; $custom-light: #725da5; $custom-dark: #000000;
JSON
{
"hex": "#2f207f",
"rgb": {
"r": 47,
"g": 32,
"b": 127
},
"hsl": {
"h": 249.474,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.33188,
"c": 0.15052,
"h": 281.6
},
"luminance": 0.0317
}Semantic roles & 50–950 ramp
primary
#2F207F
secondary
#A1B249
accent
#E345CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F