#2F2973#2F2973
#2F2973 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.123 H 281.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2973 |
|---|---|
| RGB | rgb(47, 41, 115) |
| HSL | hsl(245, 47%, 31%) |
| HSV | hsv(245, 64%, 45%) |
| CMYK | cmyk(59.1%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(21.68, 25.66, -41.90) |
| CIE-LCH | lch(21.68, 49.13, 301.48°) |
| OKLab | oklab(33.55% 0.0237 -0.1203) |
| OKLCH | oklch(33.55% 0.123 281.1) |
| XYZ | xyz(5.0588, 3.4277, 16.6114) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.80
Darkslateblue
#483D8B
ΔE00 6.78
Royal
#0C1793
ΔE00 7.68
Blueberry
#464196
ΔE00 8.27
Marine
#042E60
ΔE00 8.66
Dark Indigo
#1F0954
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2973 #6D7329
analogous
#294873 #2F2973 #542973
triadic
#2F2973 #732F29 #29732F
tetradic
#2F2973 #732948 #6D7329 #297354
square
#2F2973 #732948 #6D7329 #297354
split-complementary
#2F2973 #735429 #487329
monochromatic
#0A0919 #1D1946 #2F2973 #4139A0 #5D54C2
Accessibility & contrast
On white
12.46
#2F2973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2F2973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2973
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2973 | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#0B3B4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2f2973; /* rgb */ color: rgb(47, 41, 115); /* oklch */ color: oklch(33.5% 0.123 281.1);
Tailwind
colors: {
custom: {
50: '#6f639c',
500: '#2f2973',
950: '#000000',
},
}SCSS
$custom: #2f2973; $custom-light: #6f639c; $custom-dark: #000000;
JSON
{
"hex": "#2f2973",
"rgb": {
"r": 47,
"g": 41,
"b": 115
},
"hsl": {
"h": 244.865,
"s": 47.436,
"l": 30.588
},
"oklch": {
"l": 0.33547,
"c": 0.12265,
"h": 281.1
},
"luminance": 0.03428
}Semantic roles & 50–950 ramp
primary
#2F2973
secondary
#9EA553
accent
#D751CC
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E