#2F2F86#2F2F86
#2F2F86 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.142 H 276.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F86 |
|---|---|
| RGB | rgb(47, 47, 134) |
| HSL | hsl(240, 48%, 35%) |
| HSV | hsv(240, 65%, 53%) |
| CMYK | cmyk(64.9%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(24.82, 28.41, -48.81) |
| CIE-LCH | lch(24.82, 56.48, 300.20°) |
| OKLab | oklab(36.36% 0.0166 -0.1406) |
| OKLCH | oklch(36.36% 0.142 276.7) |
| XYZ | xyz(6.4905, 4.3581, 23.0488) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.23
Blueberry
#464196
ΔE00 5.87
Sapphire (survey)
#2138AB
ΔE00 5.99
Midnight Blue
#191970
ΔE00 6.43
Royal
#0C1793
ΔE00 6.76
Indigo Blue
#3A18B1
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F86 #86862F
analogous
#2F5A86 #2F2F86 #5A2F86
triadic
#2F2F86 #862F2F #2F862F
tetradic
#2F2F86 #862F5A #86862F #2F865A
square
#2F2F86 #862F5A #86862F #2F865A
split-complementary
#2F2F86 #865A2F #5A862F
monochromatic
#0F0F2B #1F1F59 #2F2F86 #3F3FB3 #6666C9
Accessibility & contrast
On white
11.22
#2F2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2F2F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F86
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F86 | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f2f86; /* rgb */ color: rgb(47, 47, 134); /* oklch */ color: oklch(36.4% 0.142 276.7);
Tailwind
colors: {
custom: {
50: '#7268aa',
500: '#2f2f86',
950: '#000000',
},
}SCSS
$custom: #2f2f86; $custom-light: #7268aa; $custom-dark: #000000;
JSON
{
"hex": "#2f2f86",
"rgb": {
"r": 47,
"g": 47,
"b": 134
},
"hsl": {
"h": 240,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.36356,
"c": 0.14159,
"h": 276.7
},
"luminance": 0.04359
}Semantic roles & 50–950 ramp
primary
#2F2F86
secondary
#B0B060
accent
#D850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F