#2F2286#2F2286
#2F2286 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.157 H 280.0°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2286 |
|---|---|
| RGB | rgb(47, 34, 134) |
| HSL | hsl(248, 60%, 33%) |
| HSV | hsv(248, 75%, 53%) |
| CMYK | cmyk(64.9%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(21.83, 36.52, -53.71) |
| CIE-LCH | lch(21.83, 64.95, 304.21°) |
| OKLab | oklab(34.2% 0.0272 -0.155) |
| OKLCH | oklch(34.2% 0.157 280) |
| XYZ | xyz(6.0460, 3.4692, 22.9006) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.01
Midnight Blue
#191970
ΔE00 4.43
Indigo (survey)
#380282
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 6.38
Indigo Blue
#3A18B1
ΔE00 6.55
Darkblue
#00008B
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2286 #798622
analogous
#224786 #2F2286 #612286
triadic
#2F2286 #862F22 #22862F
tetradic
#2F2286 #862247 #798622 #228661
square
#2F2286 #862247 #798622 #228661
split-complementary
#2F2286 #866122 #478622
monochromatic
#0D0924 #1E1655 #2F2286 #402EB7 #6150D3
Accessibility & contrast
On white
12.40
#2F2286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2F2286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2286
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2286 | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2f2286; /* rgb */ color: rgb(47, 34, 134); /* oklch */ color: oklch(34.2% 0.157 280.0);
Tailwind
colors: {
custom: {
50: '#735faa',
500: '#2f2286',
950: '#000000',
},
}SCSS
$custom: #2f2286; $custom-light: #735faa; $custom-dark: #000000;
JSON
{
"hex": "#2f2286",
"rgb": {
"r": 47,
"g": 34,
"b": 134
},
"hsl": {
"h": 247.8,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.34199,
"c": 0.15734,
"h": 280
},
"luminance": 0.0347
}Semantic roles & 50–950 ramp
primary
#2F2286
secondary
#A8B64E
accent
#E345CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F