#2F2B76#2F2B76
#2F2B76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.124 H 279.9°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B76 |
|---|---|
| RGB | rgb(47, 43, 118) |
| HSL | hsl(243, 47%, 32%) |
| HSV | hsv(243, 64%, 46%) |
| CMYK | cmyk(60.2%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(22.44, 25.38, -42.58) |
| CIE-LCH | lch(22.44, 49.57, 300.80°) |
| OKLab | oklab(34.19% 0.0214 -0.1223) |
| OKLCH | oklch(34.19% 0.124 279.9) |
| XYZ | xyz(5.3052, 3.6397, 17.5590) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.20
Darkslateblue
#483D8B
ΔE00 6.27
Royal
#0C1793
ΔE00 7.65
Blueberry
#464196
ΔE00 7.65
Marine
#042E60
ΔE00 8.41
Sapphire (survey)
#2138AB
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B76 #72762B
analogous
#2B4D76 #2F2B76 #552B76
triadic
#2F2B76 #762F2B #2B762F
tetradic
#2F2B76 #762B4D #72762B #2B7655
square
#2F2B76 #762B4D #72762B #2B7655
split-complementary
#2F2B76 #76552B #4D762B
monochromatic
#0B0A1C #1D1B49 #2F2B76 #413BA3 #5F59C2
Accessibility & contrast
On white
12.15
#2F2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2F2B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B76
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B76 | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#053D4C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2f2b76; /* rgb */ color: rgb(47, 43, 118); /* oklch */ color: oklch(34.2% 0.124 279.9);
Tailwind
colors: {
custom: {
50: '#6f649e',
500: '#2f2b76',
950: '#000000',
},
}SCSS
$custom: #2f2b76; $custom-light: #6f649e; $custom-dark: #000000;
JSON
{
"hex": "#2f2b76",
"rgb": {
"r": 47,
"g": 43,
"b": 118
},
"hsl": {
"h": 243.2,
"s": 46.584,
"l": 31.569
},
"oklch": {
"l": 0.34185,
"c": 0.12419,
"h": 279.9
},
"luminance": 0.0364
}Semantic roles & 50–950 ramp
primary
#2F2B76
secondary
#A3A855
accent
#D652CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E