#2F2182#2F2182
#2F2182 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.153 H 280.8°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2182 |
|---|---|
| RGB | rgb(47, 33, 130) |
| HSL | hsl(249, 60%, 32%) |
| HSV | hsv(249, 75%, 51%) |
| CMYK | cmyk(63.8%, 74.6%, 0%, 49%) |
| CIE-LAB | lab(21.22, 35.78, -52.20) |
| CIE-LCH | lch(21.22, 63.29, 304.43°) |
| OKLab | oklab(33.64% 0.0288 -0.1505) |
| OKLCH | oklch(33.64% 0.153 280.8) |
| XYZ | xyz(5.7441, 3.3033, 21.4497) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.95
Royal
#0C1793
ΔE00 4.29
Indigo (survey)
#380282
ΔE00 5.44
Darkblue
#00008B
ΔE00 6.58
Cobalt Blue
#030AA7
ΔE00 6.75
Navy
#000080
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2182 #748221
analogous
#214482 #2F2182 #602182
triadic
#2F2182 #822F21 #21822F
tetradic
#2F2182 #822144 #748221 #218260
square
#2F2182 #822144 #748221 #218260
split-complementary
#2F2182 #826021 #448221
monochromatic
#0C0820 #1D1551 #2F2182 #412DB3 #5F4CD2
Accessibility & contrast
On white
12.64
#2F2182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2F2182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2182
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2182 | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2f2182; /* rgb */ color: rgb(47, 33, 130); /* oklch */ color: oklch(33.6% 0.153 280.8);
Tailwind
colors: {
custom: {
50: '#735ea7',
500: '#2f2182',
950: '#000000',
},
}SCSS
$custom: #2f2182; $custom-light: #735ea7; $custom-dark: #000000;
JSON
{
"hex": "#2f2182",
"rgb": {
"r": 47,
"g": 33,
"b": 130
},
"hsl": {
"h": 248.66,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.33642,
"c": 0.15328,
"h": 280.8
},
"luminance": 0.03304
}Semantic roles & 50–950 ramp
primary
#2F2182
secondary
#A5B44A
accent
#E345CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F