#2F2B97#2F2B97
#2F2B97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.169 H 276.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B97 |
|---|---|
| RGB | rgb(47, 43, 151) |
| HSL | hsl(242, 56%, 38%) |
| HSV | hsv(242, 72%, 59%) |
| CMYK | cmyk(68.9%, 71.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.46, 36.89, -58.30) |
| CIE-LCH | lch(25.46, 68.99, 302.33°) |
| OKLab | oklab(37.3% 0.0177 -0.1684) |
| OKLCH | oklch(37.3% 0.169 276) |
| XYZ | xyz(7.6202, 4.5658, 29.7519) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.78
Royal
#0C1793
ΔE00 5.03
Indigo Blue
#3A18B1
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 6.60
Blueberry
#464196
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B97 #93972B
analogous
#2B5D97 #2F2B97 #652B97
triadic
#2F2B97 #972F2B #2B972F
tetradic
#2F2B97 #972B5D #93972B #2B9765
square
#2F2B97 #972B5D #93972B #2B9765
split-complementary
#2F2B97 #97652B #5D972B
monochromatic
#111038 #201D67 #2F2B97 #3E39C7 #6C68D4
Accessibility & contrast
On white
10.98
#2F2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F2B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B97
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B97 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2b97; /* rgb */ color: rgb(47, 43, 151); /* oklch */ color: oklch(37.3% 0.169 276.0);
Tailwind
colors: {
custom: {
50: '#7665b7',
500: '#2f2b97',
950: '#000000',
},
}SCSS
$custom: #2f2b97; $custom-light: #7665b7; $custom-dark: #000000;
JSON
{
"hex": "#2f2b97",
"rgb": {
"r": 47,
"g": 43,
"b": 151
},
"hsl": {
"h": 242.222,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.37302,
"c": 0.16933,
"h": 276
},
"luminance": 0.04566
}Semantic roles & 50–950 ramp
primary
#2F2B97
secondary
#B7BB63
accent
#DF49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80