#2F2184#2F2184
#2F2184 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.156 H 280.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2184 |
|---|---|
| RGB | rgb(47, 33, 132) |
| HSL | hsl(248, 60%, 32%) |
| HSV | hsv(248, 75%, 52%) |
| CMYK | cmyk(64.4%, 75%, 0%, 48.2%) |
| CIE-LAB | lab(21.42, 36.44, -53.13) |
| CIE-LCH | lch(21.42, 64.42, 304.45°) |
| OKLab | oklab(33.85% 0.0284 -0.1533) |
| OKLCH | oklch(33.85% 0.156 280.5) |
| XYZ | xyz(5.8797, 3.3576, 22.1636) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.08
Midnight Blue
#191970
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 5.40
Darkblue
#00008B
ΔE00 6.48
Cobalt Blue
#030AA7
ΔE00 6.48
Navy
#000080
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2184 #768421
analogous
#214484 #2F2184 #612184
triadic
#2F2184 #842F21 #21842F
tetradic
#2F2184 #842144 #768421 #218461
square
#2F2184 #842144 #768421 #218461
split-complementary
#2F2184 #846121 #448421
monochromatic
#0C0922 #1E1553 #2F2184 #402DB5 #604DD2
Accessibility & contrast
On white
12.56
#2F2184 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2F2184 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2184
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2184 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2184 | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2f2184; /* rgb */ color: rgb(47, 33, 132); /* oklch */ color: oklch(33.8% 0.156 280.5);
Tailwind
colors: {
custom: {
50: '#735ea9',
500: '#2f2184',
950: '#000000',
},
}SCSS
$custom: #2f2184; $custom-light: #735ea9; $custom-dark: #000000;
JSON
{
"hex": "#2f2184",
"rgb": {
"r": 47,
"g": 33,
"b": 132
},
"hsl": {
"h": 248.485,
"s": 60,
"l": 32.353
},
"oklch": {
"l": 0.33847,
"c": 0.15586,
"h": 280.5
},
"luminance": 0.03358
}Semantic roles & 50–950 ramp
primary
#2F2184
secondary
#A7B64B
accent
#E345CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F