#2F2686#2F2686
#2F2686 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.153 H 279.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2686 |
|---|---|
| RGB | rgb(47, 38, 134) |
| HSL | hsl(246, 56%, 34%) |
| HSV | hsv(246, 72%, 53%) |
| CMYK | cmyk(64.9%, 71.6%, 0%, 47.5%) |
| CIE-LAB | lab(22.69, 34.14, -52.30) |
| CIE-LCH | lch(22.69, 62.45, 303.13°) |
| OKLab | oklab(34.81% 0.0242 -0.1509) |
| OKLCH | oklch(34.81% 0.153 279.1) |
| XYZ | xyz(6.1671, 3.7113, 22.9410) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.67
Midnight Blue
#191970
ΔE00 4.79
Indigo (survey)
#380282
ΔE00 6.67
Indigo Blue
#3A18B1
ΔE00 6.96
Darkslateblue
#483D8B
ΔE00 7.00
Cobalt Blue
#030AA7
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2686 #7D8626
analogous
#264D86 #2F2686 #5F2686
triadic
#2F2686 #862F26 #26862F
tetradic
#2F2686 #86264D #7D8626 #26865F
square
#2F2686 #86264D #7D8626 #26865F
split-complementary
#2F2686 #865F26 #4D8626
monochromatic
#0E0B27 #1E1856 #2F2686 #4034B6 #6257CF
Accessibility & contrast
On white
12.05
#2F2686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2F2686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2686
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2686 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2f2686; /* rgb */ color: rgb(47, 38, 134); /* oklch */ color: oklch(34.8% 0.153 279.1);
Tailwind
colors: {
custom: {
50: '#7361aa',
500: '#2f2686',
950: '#000000',
},
}SCSS
$custom: #2f2686; $custom-light: #7361aa; $custom-dark: #000000;
JSON
{
"hex": "#2f2686",
"rgb": {
"r": 47,
"g": 38,
"b": 134
},
"hsl": {
"h": 245.625,
"s": 55.814,
"l": 33.725
},
"oklch": {
"l": 0.34813,
"c": 0.15277,
"h": 279.1
},
"luminance": 0.03712
}Semantic roles & 50–950 ramp
primary
#2F2686
secondary
#ABB454
accent
#DF49D1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F