#2F2C99#2F2C99
#2F2C99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.171 H 275.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C99 |
|---|---|
| RGB | rgb(47, 44, 153) |
| HSL | hsl(242, 55%, 39%) |
| HSV | hsv(242, 71%, 60%) |
| CMYK | cmyk(69.3%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(25.88, 36.97, -58.84) |
| CIE-LCH | lch(25.88, 69.49, 302.14°) |
| OKLab | oklab(37.66% 0.0167 -0.17) |
| OKLCH | oklch(37.66% 0.171 275.6) |
| XYZ | xyz(7.8209, 4.7049, 30.6268) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.43
Royal
#0C1793
ΔE00 5.27
Indigo Blue
#3A18B1
ΔE00 5.48
Blueberry
#464196
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C99 #96992C
analogous
#2C5F99 #2F2C99 #652C99
triadic
#2F2C99 #992F2C #2C992F
tetradic
#2F2C99 #992C5F #96992C #2C9965
square
#2F2C99 #992C5F #96992C #2C9965
split-complementary
#2F2C99 #99652C #5F992C
monochromatic
#12113A #201E69 #2F2C99 #3F3BC7 #6E6BD4
Accessibility & contrast
On white
10.82
#2F2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F2C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C99
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C99 | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2c99; /* rgb */ color: rgb(47, 44, 153); /* oklch */ color: oklch(37.7% 0.171 275.6);
Tailwind
colors: {
custom: {
50: '#7766b8',
500: '#2f2c99',
950: '#000000',
},
}SCSS
$custom: #2f2c99; $custom-light: #7766b8; $custom-dark: #000000;
JSON
{
"hex": "#2f2c99",
"rgb": {
"r": 47,
"g": 44,
"b": 153
},
"hsl": {
"h": 241.651,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.37661,
"c": 0.17081,
"h": 275.6
},
"luminance": 0.04706
}Semantic roles & 50–950 ramp
primary
#2F2C99
secondary
#B9BB66
accent
#DF49DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80