#2F219F#2F219F
#2F219F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.189 H 276.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F219F |
|---|---|
| RGB | rgb(47, 33, 159) |
| HSL | hsl(247, 66%, 38%) |
| HSV | hsv(247, 79%, 62%) |
| CMYK | cmyk(70.4%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(24.30, 45.14, -65.10) |
| CIE-LCH | lch(24.30, 79.22, 304.74°) |
| OKLab | oklab(36.73% 0.0217 -0.1882) |
| OKLCH | oklch(36.73% 0.189 276.6) |
| XYZ | xyz(7.9721, 4.1945, 33.1837) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.12
Royal
#0C1793
ΔE00 3.70
Cobalt Blue
#030AA7
ΔE00 4.23
Ultramarine
#2000B1
ΔE00 4.59
Royal Blue (survey)
#0504AA
ΔE00 4.64
True Blue
#010FCC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F219F #919F21
analogous
#21529F #2F219F #6E219F
triadic
#2F219F #9F2F21 #219F2F
tetradic
#2F219F #9F2152 #919F21 #219F6E
square
#2F219F #9F2152 #919F21 #219F6E
split-complementary
#2F219F #9F6E21 #529F21
monochromatic
#110C3A #20166C #2F219F #3E2CD2 #6B5DDD
Accessibility & contrast
On white
11.42
#2F219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2F219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F219F
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F219F | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f219f; /* rgb */ color: rgb(47, 33, 159); /* oklch */ color: oklch(36.7% 0.189 276.6);
Tailwind
colors: {
custom: {
50: '#7960bd',
500: '#2f219f',
950: '#000000',
},
}SCSS
$custom: #2f219f; $custom-light: #7960bd; $custom-dark: #000000;
JSON
{
"hex": "#2f219f",
"rgb": {
"r": 47,
"g": 33,
"b": 159
},
"hsl": {
"h": 246.667,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.36734,
"c": 0.18941,
"h": 276.6
},
"luminance": 0.04195
}Semantic roles & 50–950 ramp
primary
#2F219F
secondary
#B6C25A
accent
#E93FD6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981