#2F2C86#2F2C86
#2F2C86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.145 H 277.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C86 |
|---|---|
| RGB | rgb(47, 44, 134) |
| HSL | hsl(242, 51%, 35%) |
| HSV | hsv(242, 67%, 53%) |
| CMYK | cmyk(64.9%, 67.2%, 0%, 47.5%) |
| CIE-LAB | lab(24.09, 30.37, -50.02) |
| CIE-LCH | lch(24.09, 58.51, 301.26°) |
| OKLab | oklab(35.82% 0.0192 -0.1442) |
| OKLCH | oklch(35.82% 0.145 277.6) |
| XYZ | xyz(6.3747, 4.1264, 23.0102) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.77
Midnight Blue
#191970
ΔE00 5.77
Royal
#0C1793
ΔE00 5.98
Sapphire (survey)
#2138AB
ΔE00 6.35
Blueberry
#464196
ΔE00 6.50
Indigo Blue
#3A18B1
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C86 #83862C
analogous
#2C5686 #2F2C86 #5C2C86
triadic
#2F2C86 #862F2C #2C862F
tetradic
#2F2C86 #862C56 #83862C #2C865C
square
#2F2C86 #862C56 #83862C #2C865C
split-complementary
#2F2C86 #865C2C #56862C
monochromatic
#0F0E2A #1F1D58 #2F2C86 #3F3BB4 #6561CB
Accessibility & contrast
On white
11.50
#2F2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2F2C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C86
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C86 | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2f2c86; /* rgb */ color: rgb(47, 44, 134); /* oklch */ color: oklch(35.8% 0.145 277.6);
Tailwind
colors: {
custom: {
50: '#7365aa',
500: '#2f2c86',
950: '#000000',
},
}SCSS
$custom: #2f2c86; $custom-light: #7365aa; $custom-dark: #000000;
JSON
{
"hex": "#2f2c86",
"rgb": {
"r": 47,
"g": 44,
"b": 134
},
"hsl": {
"h": 242,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.35818,
"c": 0.14544,
"h": 277.6
},
"luminance": 0.04127
}Semantic roles & 50–950 ramp
primary
#2F2C86
secondary
#AFB15C
accent
#DA4ED5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F