#2F219B#2F219B
#2F219B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.185 H 277.1°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F219B |
|---|---|
| RGB | rgb(47, 33, 155) |
| HSL | hsl(247, 65%, 37%) |
| HSV | hsv(247, 79%, 61%) |
| CMYK | cmyk(69.7%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(23.86, 43.88, -63.39) |
| CIE-LCH | lch(23.86, 77.09, 304.69°) |
| OKLab | oklab(36.29% 0.0228 -0.1832) |
| OKLCH | oklch(36.29% 0.185 277.1) |
| XYZ | xyz(7.6306, 4.0579, 31.3851) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.45
Indigo Blue
#3A18B1
ΔE00 3.59
Cobalt Blue
#030AA7
ΔE00 4.37
Royal Blue (survey)
#0504AA
ΔE00 4.81
Ultramarine
#2000B1
ΔE00 4.88
Indigo (survey)
#380282
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F219B #8D9B21
analogous
#21509B #2F219B #6C219B
triadic
#2F219B #9B2F21 #219B2F
tetradic
#2F219B #9B2150 #8D9B21 #219B6C
square
#2F219B #9B2150 #8D9B21 #219B6C
split-complementary
#2F219B #9B6C21 #509B21
monochromatic
#100C36 #201669 #2F219B #3E2CCD #695ADC
Accessibility & contrast
On white
11.59
#2F219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2F219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F219B
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F219B | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2f219b; /* rgb */ color: rgb(47, 33, 155); /* oklch */ color: oklch(36.3% 0.185 277.1);
Tailwind
colors: {
custom: {
50: '#785fba',
500: '#2f219b',
950: '#000000',
},
}SCSS
$custom: #2f219b; $custom-light: #785fba; $custom-dark: #000000;
JSON
{
"hex": "#2f219b",
"rgb": {
"r": 47,
"g": 33,
"b": 155
},
"hsl": {
"h": 246.885,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.36294,
"c": 0.18459,
"h": 277.1
},
"luminance": 0.04059
}Semantic roles & 50–950 ramp
primary
#2F219B
secondary
#B4C058
accent
#E840D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981