#2F207B#2F207B
#2F207B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.145 H 282.4°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F207B |
|---|---|
| RGB | rgb(47, 32, 123) |
| HSL | hsl(250, 59%, 30%) |
| HSV | hsv(250, 74%, 48%) |
| CMYK | cmyk(61.8%, 74%, 0%, 51.8%) |
| CIE-LAB | lab(20.31, 34.06, -49.25) |
| CIE-LCH | lch(20.31, 59.89, 304.67°) |
| OKLab | oklab(32.78% 0.0311 -0.1419) |
| OKLCH | oklch(32.78% 0.145 282.4) |
| XYZ | xyz(5.2628, 3.0671, 19.0497) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.33
Royal
#0C1793
ΔE00 5.07
Indigo (survey)
#380282
ΔE00 5.48
Dark Royal Blue
#02066F
ΔE00 6.48
Deep Blue
#040273
ΔE00 6.78
Navy
#000080
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F207B #6C7B20
analogous
#203E7B #2F207B #5C207B
triadic
#2F207B #7B2F20 #207B2F
tetradic
#2F207B #7B203E #6C7B20 #207B5C
square
#2F207B #7B203E #6C7B20 #207B5C
split-complementary
#2F207B #7B5C20 #3E7B20
monochromatic
#0A071A #1C134A #2F207B #422DAC #5D46CF
Accessibility & contrast
On white
13.02
#2F207B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2F207B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F207B
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F207B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F207B | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2f207b; /* rgb */ color: rgb(47, 32, 123); /* oklch */ color: oklch(32.8% 0.145 282.4);
Tailwind
colors: {
custom: {
50: '#715da2',
500: '#2f207b',
950: '#000000',
},
}SCSS
$custom: #2f207b; $custom-light: #715da2; $custom-dark: #000000;
JSON
{
"hex": "#2f207b",
"rgb": {
"r": 47,
"g": 32,
"b": 123
},
"hsl": {
"h": 249.89,
"s": 58.71,
"l": 30.392
},
"oklch": {
"l": 0.32783,
"c": 0.1453,
"h": 282.4
},
"luminance": 0.03067
}Semantic roles & 50–950 ramp
primary
#2F207B
secondary
#9DAE49
accent
#E246C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F