#2F2086#2F2086
#2F2086 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.160 H 280.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2086 |
|---|---|
| RGB | rgb(47, 32, 134) |
| HSL | hsl(249, 61%, 33%) |
| HSV | hsv(249, 76%, 53%) |
| CMYK | cmyk(64.9%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.42, 37.67, -54.38) |
| CIE-LCH | lch(21.42, 66.15, 304.71°) |
| OKLab | oklab(33.91% 0.0286 -0.1569) |
| OKLCH | oklch(33.91% 0.16 280.3) |
| XYZ | xyz(5.9905, 3.3581, 22.8821) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.77
Midnight Blue
#191970
ΔE00 4.34
Indigo (survey)
#380282
ΔE00 5.14
Cobalt Blue
#030AA7
ΔE00 6.09
Darkblue
#00008B
ΔE00 6.18
Indigo Blue
#3A18B1
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2086 #778620
analogous
#204486 #2F2086 #622086
triadic
#2F2086 #862F20 #20862F
tetradic
#2F2086 #862044 #778620 #208662
square
#2F2086 #862044 #778620 #208662
split-complementary
#2F2086 #866220 #448620
monochromatic
#0C0823 #1E1455 #2F2086 #402CB7 #604CD4
Accessibility & contrast
On white
12.56
#2F2086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2F2086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2086
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2086 | 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)
#003789
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2f2086; /* rgb */ color: rgb(47, 32, 134); /* oklch */ color: oklch(33.9% 0.160 280.3);
Tailwind
colors: {
custom: {
50: '#745eaa',
500: '#2f2086',
950: '#000000',
},
}SCSS
$custom: #2f2086; $custom-light: #745eaa; $custom-dark: #000000;
JSON
{
"hex": "#2f2086",
"rgb": {
"r": 47,
"g": 32,
"b": 134
},
"hsl": {
"h": 248.824,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.3391,
"c": 0.15951,
"h": 280.3
},
"luminance": 0.03359
}Semantic roles & 50–950 ramp
primary
#2F2086
secondary
#A7B74B
accent
#E543CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F