#2F2997#2F2997
#2F2997 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.172 H 276.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2997 |
|---|---|
| RGB | rgb(47, 41, 151) |
| HSL | hsl(243, 57%, 38%) |
| HSV | hsv(243, 73%, 59%) |
| CMYK | cmyk(68.9%, 72.8%, 0%, 40.8%) |
| CIE-LAB | lab(25.03, 38.09, -59.01) |
| CIE-LCH | lch(25.03, 70.24, 302.84°) |
| OKLab | oklab(36.99% 0.019 -0.1705) |
| OKLCH | oklch(36.99% 0.172 276.4) |
| XYZ | xyz(7.5493, 4.4239, 29.7282) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.60
Indigo Blue
#3A18B1
ΔE00 5.13
Sapphire (survey)
#2138AB
ΔE00 5.20
Cobalt Blue
#030AA7
ΔE00 6.14
Royal Blue (survey)
#0504AA
ΔE00 6.65
Ultramarine
#2000B1
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2997 #919729
analogous
#295A97 #2F2997 #662997
triadic
#2F2997 #972F29 #29972F
tetradic
#2F2997 #97295A #919729 #299766
square
#2F2997 #97295A #919729 #299766
split-complementary
#2F2997 #976629 #5A9729
monochromatic
#110F37 #201C67 #2F2997 #3E36C7 #6B65D5
Accessibility & contrast
On white
11.14
#2F2997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F2997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2997
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2997 | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f2997; /* rgb */ color: rgb(47, 41, 151); /* oklch */ color: oklch(37.0% 0.172 276.4);
Tailwind
colors: {
custom: {
50: '#7764b7',
500: '#2f2997',
950: '#000000',
},
}SCSS
$custom: #2f2997; $custom-light: #7764b7; $custom-dark: #000000;
JSON
{
"hex": "#2f2997",
"rgb": {
"r": 47,
"g": 41,
"b": 151
},
"hsl": {
"h": 243.273,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.36992,
"c": 0.17155,
"h": 276.4
},
"luminance": 0.04425
}Semantic roles & 50–950 ramp
primary
#2F2997
secondary
#B6BB61
accent
#E147D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80