#2F2CA6#2F2CA6
#2F2CA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.187 H 274.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CA6 |
|---|---|
| RGB | rgb(47, 44, 166) |
| HSL | hsl(241, 58%, 41%) |
| HSV | hsv(241, 73%, 65%) |
| CMYK | cmyk(71.7%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(27.18, 41.38, -64.60) |
| CIE-LCH | lch(27.18, 76.72, 302.64°) |
| OKLab | oklab(38.99% 0.0145 -0.1868) |
| OKLCH | oklch(38.99% 0.187 274.4) |
| XYZ | xyz(8.9536, 5.1580, 36.5927) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.87
Indigo Blue
#3A18B1
ΔE00 4.38
Royal
#0C1793
ΔE00 5.79
True Blue
#010FCC
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.37
Ultramarine
#2000B1
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CA6 #A3A62C
analogous
#2C66A6 #2F2CA6 #6C2CA6
triadic
#2F2CA6 #A62F2C #2CA62F
tetradic
#2F2CA6 #A62C66 #A3A62C #2CA66C
square
#2F2CA6 #A62C66 #A3A62C #2CA66C
split-complementary
#2F2CA6 #A66C2C #66A62C
monochromatic
#141245 #211F76 #2F2CA6 #4642CD #7573DA
Accessibility & contrast
On white
10.34
#2F2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F2CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CA6
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CA6 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ca6; /* rgb */ color: rgb(47, 44, 166); /* oklch */ color: oklch(39.0% 0.187 274.4);
Tailwind
colors: {
custom: {
50: '#7a67c2',
500: '#2f2ca6',
950: '#000000',
},
}SCSS
$custom: #2f2ca6; $custom-light: #7a67c2; $custom-dark: #000000;
JSON
{
"hex": "#2f2ca6",
"rgb": {
"r": 47,
"g": 44,
"b": 166
},
"hsl": {
"h": 241.475,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.38985,
"c": 0.18737,
"h": 274.4
},
"luminance": 0.05159
}Semantic roles & 50–950 ramp
primary
#2F2CA6
secondary
#BFC16D
accent
#E146DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81