#2F2C97#2F2C97
#2F2C97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.168 H 275.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C97 |
|---|---|
| RGB | rgb(47, 44, 151) |
| HSL | hsl(242, 55%, 38%) |
| HSV | hsv(242, 71%, 59%) |
| CMYK | cmyk(68.9%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(25.68, 36.28, -57.93) |
| CIE-LCH | lch(25.68, 68.36, 302.06°) |
| OKLab | oklab(37.46% 0.017 -0.1673) |
| OKLCH | oklch(37.46% 0.168 275.8) |
| XYZ | xyz(7.6571, 4.6394, 29.7641) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.58
Royal
#0C1793
ΔE00 5.26
Indigo Blue
#3A18B1
ΔE00 5.69
Blueberry
#464196
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 6.42
Cobalt Blue
#030AA7
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C97 #94972C
analogous
#2C5E97 #2F2C97 #642C97
triadic
#2F2C97 #972F2C #2C972F
tetradic
#2F2C97 #972C5E #94972C #2C9764
square
#2F2C97 #972C5E #94972C #2C9764
split-complementary
#2F2C97 #97642C #5E972C
monochromatic
#111038 #201E68 #2F2C97 #3E3AC6 #6D6AD4
Accessibility & contrast
On white
10.89
#2F2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2F2C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C97
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C97 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2c97; /* rgb */ color: rgb(47, 44, 151); /* oklch */ color: oklch(37.5% 0.168 275.8);
Tailwind
colors: {
custom: {
50: '#7666b7',
500: '#2f2c97',
950: '#000000',
},
}SCSS
$custom: #2f2c97; $custom-light: #7666b7; $custom-dark: #000000;
JSON
{
"hex": "#2f2c97",
"rgb": {
"r": 47,
"g": 44,
"b": 151
},
"hsl": {
"h": 241.682,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.37461,
"c": 0.16821,
"h": 275.8
},
"luminance": 0.0464
}Semantic roles & 50–950 ramp
primary
#2F2C97
secondary
#B8BA65
accent
#DE4ADA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80