#2F2282#2F2282
#2F2282 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.152 H 280.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2282 |
|---|---|
| RGB | rgb(47, 34, 130) |
| HSL | hsl(248, 59%, 32%) |
| HSV | hsv(248, 74%, 51%) |
| CMYK | cmyk(63.8%, 73.8%, 0%, 49%) |
| CIE-LAB | lab(21.43, 35.20, -51.85) |
| CIE-LCH | lch(21.43, 62.67, 304.17°) |
| OKLab | oklab(33.79% 0.028 -0.1495) |
| OKLCH | oklch(33.79% 0.152 280.6) |
| XYZ | xyz(5.7723, 3.3597, 21.4591) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.01
Royal
#0C1793
ΔE00 4.42
Indigo (survey)
#380282
ΔE00 5.69
Darkblue
#00008B
ΔE00 6.80
Cobalt Blue
#030AA7
ΔE00 6.89
Navy
#000080
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2282 #758222
analogous
#224582 #2F2282 #5F2282
triadic
#2F2282 #822F22 #22822F
tetradic
#2F2282 #822245 #758222 #22825F
square
#2F2282 #822245 #758222 #22825F
split-complementary
#2F2282 #825F22 #458222
monochromatic
#0C0921 #1D1551 #2F2282 #412FB3 #5F4ED1
Accessibility & contrast
On white
12.56
#2F2282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2F2282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2282
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2282 | 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)
#003785
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2f2282; /* rgb */ color: rgb(47, 34, 130); /* oklch */ color: oklch(33.8% 0.152 280.6);
Tailwind
colors: {
custom: {
50: '#735fa7',
500: '#2f2282',
950: '#000000',
},
}SCSS
$custom: #2f2282; $custom-light: #735fa7; $custom-dark: #000000;
JSON
{
"hex": "#2f2282",
"rgb": {
"r": 47,
"g": 34,
"b": 130
},
"hsl": {
"h": 248.125,
"s": 58.537,
"l": 32.157
},
"oklch": {
"l": 0.33791,
"c": 0.15215,
"h": 280.6
},
"luminance": 0.0336
}Semantic roles & 50–950 ramp
primary
#2F2282
secondary
#A6B44C
accent
#E246CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F