#2F207E#2F207E
#2F207E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.149 H 281.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F207E |
|---|---|
| RGB | rgb(47, 32, 126) |
| HSL | hsl(250, 59%, 31%) |
| HSV | hsv(250, 75%, 49%) |
| CMYK | cmyk(62.7%, 74.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.61, 35.05, -50.67) |
| CIE-LCH | lch(20.61, 61.61, 304.67°) |
| OKLab | oklab(33.09% 0.0305 -0.1461) |
| OKLCH | oklch(33.09% 0.149 281.8) |
| XYZ | xyz(5.4535, 3.1433, 20.0540) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.54
Royal
#0C1793
ΔE00 4.66
Indigo (survey)
#380282
ΔE00 5.32
Dark Royal Blue
#02066F
ΔE00 6.52
Darkblue
#00008B
ΔE00 6.64
Navy
#000080
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F207E #6F7E20
analogous
#20407E #2F207E #5E207E
triadic
#2F207E #7E2F20 #207E2F
tetradic
#2F207E #7E2040 #6F7E20 #207E5E
square
#2F207E #7E2040 #6F7E20 #207E5E
split-complementary
#2F207E #7E5E20 #407E20
monochromatic
#0B071C #1D144D #2F207E #412CAF #5E48D0
Accessibility & contrast
On white
12.89
#2F207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2F207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F207E
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F207E | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2f207e; /* rgb */ color: rgb(47, 32, 126); /* oklch */ color: oklch(33.1% 0.149 281.8);
Tailwind
colors: {
custom: {
50: '#725da4',
500: '#2f207e',
950: '#000000',
},
}SCSS
$custom: #2f207e; $custom-light: #725da4; $custom-dark: #000000;
JSON
{
"hex": "#2f207e",
"rgb": {
"r": 47,
"g": 32,
"b": 126
},
"hsl": {
"h": 249.574,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.33086,
"c": 0.14921,
"h": 281.8
},
"luminance": 0.03144
}Semantic roles & 50–950 ramp
primary
#2F207E
secondary
#A0B149
accent
#E345CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F