#2F2C9D#2F2C9D
#2F2C9D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.176 H 275.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C9D |
|---|---|
| RGB | rgb(47, 44, 157) |
| HSL | hsl(242, 56%, 39%) |
| HSV | hsv(242, 72%, 62%) |
| CMYK | cmyk(70.1%, 72%, 0%, 38.4%) |
| CIE-LAB | lab(26.27, 38.34, -60.64) |
| CIE-LCH | lch(26.27, 71.74, 302.30°) |
| OKLab | oklab(38.06% 0.016 -0.1752) |
| OKLCH | oklch(38.06% 0.176 275.2) |
| XYZ | xyz(8.1568, 4.8393, 32.3960) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.18
Indigo Blue
#3A18B1
ΔE00 5.08
Royal
#0C1793
ΔE00 5.35
Cobalt Blue
#030AA7
ΔE00 6.55
Blueberry
#464196
ΔE00 6.56
Darkslateblue
#483D8B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C9D #9A9D2C
analogous
#2C629D #2F2C9D #682C9D
triadic
#2F2C9D #9D2F2C #2C9D2F
tetradic
#2F2C9D #9D2C62 #9A9D2C #2C9D68
square
#2F2C9D #9D2C62 #9A9D2C #2C9D68
split-complementary
#2F2C9D #9D682C #629D2C
monochromatic
#12113D #211F6D #2F2C9D #413DC9 #706DD6
Accessibility & contrast
On white
10.67
#2F2C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F2C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C9D
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C9D | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f2c9d; /* rgb */ color: rgb(47, 44, 157); /* oklch */ color: oklch(38.1% 0.176 275.2);
Tailwind
colors: {
custom: {
50: '#7866bb',
500: '#2f2c9d',
950: '#000000',
},
}SCSS
$custom: #2f2c9d; $custom-light: #7866bb; $custom-dark: #000000;
JSON
{
"hex": "#2f2c9d",
"rgb": {
"r": 47,
"g": 44,
"b": 157
},
"hsl": {
"h": 241.593,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.38063,
"c": 0.17597,
"h": 275.2
},
"luminance": 0.0484
}Semantic roles & 50–950 ramp
primary
#2F2C9D
secondary
#BBBD68
accent
#E048DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81