#2F2288#2F2288
#2F2288 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.160 H 279.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2288 |
|---|---|
| RGB | rgb(47, 34, 136) |
| HSL | hsl(248, 60%, 33%) |
| HSV | hsv(248, 75%, 53%) |
| CMYK | cmyk(65.4%, 75%, 0%, 46.7%) |
| CIE-LAB | lab(22.04, 37.18, -54.63) |
| CIE-LCH | lch(22.04, 66.08, 304.24°) |
| OKLab | oklab(34.41% 0.0268 -0.1577) |
| OKLCH | oklch(34.41% 0.16 279.6) |
| XYZ | xyz(6.1868, 3.5255, 23.6422) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.84
Midnight Blue
#191970
ΔE00 4.65
Indigo (survey)
#380282
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 6.14
Indigo Blue
#3A18B1
ΔE00 6.25
Darkblue
#00008B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2288 #7B8822
analogous
#224888 #2F2288 #622288
triadic
#2F2288 #882F22 #22882F
tetradic
#2F2288 #882248 #7B8822 #228862
square
#2F2288 #882248 #7B8822 #228862
split-complementary
#2F2288 #886222 #488822
monochromatic
#0D0A26 #1E1657 #2F2288 #402EB9 #6251D3
Accessibility & contrast
On white
12.32
#2F2288 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2F2288 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2288
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2288 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2288 | 1.00 | 12.32 | 1.71 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2288; /* rgb */ color: rgb(47, 34, 136); /* oklch */ color: oklch(34.4% 0.160 279.6);
Tailwind
colors: {
custom: {
50: '#745fac',
500: '#2f2288',
950: '#000000',
},
}SCSS
$custom: #2f2288; $custom-light: #745fac; $custom-dark: #000000;
JSON
{
"hex": "#2f2288",
"rgb": {
"r": 47,
"g": 34,
"b": 136
},
"hsl": {
"h": 247.647,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.34405,
"c": 0.1599,
"h": 279.6
},
"luminance": 0.03526
}Semantic roles & 50–950 ramp
primary
#2F2288
secondary
#AAB74F
accent
#E345CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F