#2F2CA7#2F2CA7
#2F2CA7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.189 H 274.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CA7 |
|---|---|
| RGB | rgb(47, 44, 167) |
| HSL | hsl(241, 58%, 41%) |
| HSV | hsv(241, 74%, 65%) |
| CMYK | cmyk(71.9%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(27.28, 41.72, -65.04) |
| CIE-LCH | lch(27.28, 77.27, 302.68°) |
| OKLab | oklab(39.09% 0.0143 -0.1881) |
| OKLCH | oklch(39.09% 0.189 274.3) |
| XYZ | xyz(9.0457, 5.1948, 37.0777) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Indigo Blue
#3A18B1
ΔE00 4.32
Royal
#0C1793
ΔE00 5.85
True Blue
#010FCC
ΔE00 6.17
Cobalt Blue
#030AA7
ΔE00 6.37
Ultramarine
#2000B1
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CA7 #A4A72C
analogous
#2C67A7 #2F2CA7 #6D2CA7
triadic
#2F2CA7 #A72F2C #2CA72F
tetradic
#2F2CA7 #A72C67 #A4A72C #2CA76D
square
#2F2CA7 #A72C67 #A4A72C #2CA76D
split-complementary
#2F2CA7 #A76D2C #67A72C
monochromatic
#141246 #211F77 #2F2CA7 #4643CD #7673DA
Accessibility & contrast
On white
10.30
#2F2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2F2CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CA7
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CA7 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ca7; /* rgb */ color: rgb(47, 44, 167); /* oklch */ color: oklch(39.1% 0.189 274.3);
Tailwind
colors: {
custom: {
50: '#7a67c2',
500: '#2f2ca7',
950: '#000000',
},
}SCSS
$custom: #2f2ca7; $custom-light: #7a67c2; $custom-dark: #000000;
JSON
{
"hex": "#2f2ca7",
"rgb": {
"r": 47,
"g": 44,
"b": 167
},
"hsl": {
"h": 241.463,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.39089,
"c": 0.18862,
"h": 274.3
},
"luminance": 0.05196
}Semantic roles & 50–950 ramp
primary
#2F2CA7
secondary
#C0C26D
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82