#2F2999#2F2999
#2F2999 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.174 H 276.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2999 |
|---|---|
| RGB | rgb(47, 41, 153) |
| HSL | hsl(243, 58%, 38%) |
| HSV | hsv(243, 73%, 60%) |
| CMYK | cmyk(69.3%, 73.2%, 0%, 40%) |
| CIE-LAB | lab(25.23, 38.77, -59.91) |
| CIE-LCH | lch(25.23, 71.36, 302.91°) |
| OKLab | oklab(37.2% 0.0186 -0.1731) |
| OKLCH | oklch(37.2% 0.174 276.1) |
| XYZ | xyz(7.7131, 4.4894, 30.5909) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.63
Indigo Blue
#3A18B1
ΔE00 4.90
Sapphire (survey)
#2138AB
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 6.03
Royal Blue (survey)
#0504AA
ΔE00 6.53
Ultramarine
#2000B1
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2999 #939929
analogous
#295B99 #2F2999 #672999
triadic
#2F2999 #992F29 #29992F
tetradic
#2F2999 #99295B #939929 #299967
square
#2F2999 #99295B #939929 #299967
split-complementary
#2F2999 #996729 #5B9929
monochromatic
#110F38 #201C69 #2F2999 #3E36C9 #6C66D6
Accessibility & contrast
On white
11.06
#2F2999 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2F2999 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2999
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2999 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2999 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2999; /* rgb */ color: rgb(47, 41, 153); /* oklch */ color: oklch(37.2% 0.174 276.1);
Tailwind
colors: {
custom: {
50: '#7764b8',
500: '#2f2999',
950: '#000000',
},
}SCSS
$custom: #2f2999; $custom-light: #7764b8; $custom-dark: #000000;
JSON
{
"hex": "#2f2999",
"rgb": {
"r": 47,
"g": 41,
"b": 153
},
"hsl": {
"h": 243.214,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.37196,
"c": 0.1741,
"h": 276.1
},
"luminance": 0.0449
}Semantic roles & 50–950 ramp
primary
#2F2999
secondary
#B7BC62
accent
#E147D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80