#2F2C9E#2F2C9E
#2F2C9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.177 H 275.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C9E |
|---|---|
| RGB | rgb(47, 44, 158) |
| HSL | hsl(242, 56%, 40%) |
| HSV | hsv(242, 72%, 62%) |
| CMYK | cmyk(70.3%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(26.37, 38.68, -61.08) |
| CIE-LCH | lch(26.37, 72.30, 302.34°) |
| OKLab | oklab(38.17% 0.0159 -0.1765) |
| OKLCH | oklch(38.17% 0.177 275.1) |
| XYZ | xyz(8.2425, 4.8736, 32.8474) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Indigo Blue
#3A18B1
ΔE00 4.99
Royal
#0C1793
ΔE00 5.39
Cobalt Blue
#030AA7
ΔE00 6.52
Blueberry
#464196
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C9E #9B9E2C
analogous
#2C629E #2F2C9E #682C9E
triadic
#2F2C9E #9E2F2C #2C9E2F
tetradic
#2F2C9E #9E2C62 #9B9E2C #2C9E68
square
#2F2C9E #9E2C62 #9B9E2C #2C9E68
split-complementary
#2F2C9E #9E682C #629E2C
monochromatic
#13113E #211F6E #2F2C9E #423EC9 #716ED7
Accessibility & contrast
On white
10.63
#2F2C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F2C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C9E
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C9E | 1.00 | 10.63 | 1.97 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f2c9e; /* rgb */ color: rgb(47, 44, 158); /* oklch */ color: oklch(38.2% 0.177 275.1);
Tailwind
colors: {
custom: {
50: '#7866bc',
500: '#2f2c9e',
950: '#000000',
},
}SCSS
$custom: #2f2c9e; $custom-light: #7866bc; $custom-dark: #000000;
JSON
{
"hex": "#2f2c9e",
"rgb": {
"r": 47,
"g": 44,
"b": 158
},
"hsl": {
"h": 241.579,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.38165,
"c": 0.17725,
"h": 275.1
},
"luminance": 0.04874
}Semantic roles & 50–950 ramp
primary
#2F2C9E
secondary
#BBBE68
accent
#E048DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81