#2F2C95#2F2C95
#2F2C95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.166 H 276.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C95 |
|---|---|
| RGB | rgb(47, 44, 149) |
| HSL | hsl(242, 54%, 38%) |
| HSV | hsv(242, 70%, 58%) |
| CMYK | cmyk(68.5%, 70.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.49, 35.59, -57.02) |
| CIE-LCH | lch(25.49, 67.22, 301.97°) |
| OKLab | oklab(37.26% 0.0173 -0.1647) |
| OKLCH | oklch(37.26% 0.166 276) |
| XYZ | xyz(7.4960, 4.5750, 28.9160) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.74
Royal
#0C1793
ΔE00 5.27
Indigo Blue
#3A18B1
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 6.31
Blueberry
#464196
ΔE00 6.37
Cobalt Blue
#030AA7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C95 #92952C
analogous
#2C5E95 #2F2C95 #632C95
triadic
#2F2C95 #952F2C #2C952F
tetradic
#2F2C95 #952C5E #92952C #2C9563
square
#2F2C95 #952C5E #92952C #2C9563
split-complementary
#2F2C95 #95632C #5E952C
monochromatic
#111037 #201E66 #2F2C95 #3E3AC4 #6C69D3
Accessibility & contrast
On white
10.96
#2F2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2F2C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C95
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C95 | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2c95; /* rgb */ color: rgb(47, 44, 149); /* oklch */ color: oklch(37.3% 0.166 276.0);
Tailwind
colors: {
custom: {
50: '#7666b5',
500: '#2f2c95',
950: '#000000',
},
}SCSS
$custom: #2f2c95; $custom-light: #7666b5; $custom-dark: #000000;
JSON
{
"hex": "#2f2c95",
"rgb": {
"r": 47,
"g": 44,
"b": 149
},
"hsl": {
"h": 241.714,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.37263,
"c": 0.1656,
"h": 276
},
"luminance": 0.04576
}Semantic roles & 50–950 ramp
primary
#2F2C95
secondary
#B7B964
accent
#DE4ADA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80