#2F2F82#2F2F82
#2F2F82 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.136 H 277.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F82 |
|---|---|
| RGB | rgb(47, 47, 130) |
| HSL | hsl(240, 47%, 35%) |
| HSV | hsv(240, 64%, 51%) |
| CMYK | cmyk(63.8%, 63.8%, 0%, 49%) |
| CIE-LAB | lab(24.48, 26.99, -46.87) |
| CIE-LCH | lch(24.48, 54.08, 299.93°) |
| OKLab | oklab(36% 0.0168 -0.1349) |
| OKLCH | oklch(36% 0.136 277.1) |
| XYZ | xyz(6.2168, 4.2486, 21.6072) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.23
Blueberry
#464196
ΔE00 6.06
Midnight Blue
#191970
ΔE00 6.27
Sapphire (survey)
#2138AB
ΔE00 6.57
Royal
#0C1793
ΔE00 7.13
Marine
#042E60
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F82 #82822F
analogous
#2F5982 #2F2F82 #592F82
triadic
#2F2F82 #822F2F #2F822F
tetradic
#2F2F82 #822F59 #82822F #2F8259
square
#2F2F82 #822F59 #82822F #2F8259
split-complementary
#2F2F82 #82592F #59822F
monochromatic
#0E0E28 #1F1F55 #2F2F82 #3F3FAF #6464C7
Accessibility & contrast
On white
11.35
#2F2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2F2F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F82
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F82 | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f2f82; /* rgb */ color: rgb(47, 47, 130); /* oklch */ color: oklch(36.0% 0.136 277.1);
Tailwind
colors: {
custom: {
50: '#7167a7',
500: '#2f2f82',
950: '#000000',
},
}SCSS
$custom: #2f2f82; $custom-light: #7167a7; $custom-dark: #000000;
JSON
{
"hex": "#2f2f82",
"rgb": {
"r": 47,
"g": 47,
"b": 130
},
"hsl": {
"h": 240,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.35996,
"c": 0.13596,
"h": 277.1
},
"luminance": 0.04249
}Semantic roles & 50–950 ramp
primary
#2F2F82
secondary
#AEAE5F
accent
#D751D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F