#2F2CA9#2F2CA9
#2F2CA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.191 H 274.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CA9 |
|---|---|
| RGB | rgb(47, 44, 169) |
| HSL | hsl(241, 59%, 42%) |
| HSV | hsv(241, 74%, 66%) |
| CMYK | cmyk(72.2%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(27.49, 42.39, -65.90) |
| CIE-LCH | lch(27.49, 78.36, 302.75°) |
| OKLab | oklab(39.3% 0.0139 -0.1906) |
| OKLCH | oklch(39.3% 0.191 274.2) |
| XYZ | xyz(9.2320, 5.2694, 38.0590) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.85
Indigo Blue
#3A18B1
ΔE00 4.22
True Blue
#010FCC
ΔE00 5.98
Royal
#0C1793
ΔE00 5.99
Cobalt Blue
#030AA7
ΔE00 6.38
Ultramarine
#2000B1
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CA9 #A6A92C
analogous
#2C68A9 #2F2CA9 #6E2CA9
triadic
#2F2CA9 #A92F2C #2CA92F
tetradic
#2F2CA9 #A92C68 #A6A92C #2CA96E
square
#2F2CA9 #A92C68 #A6A92C #2CA96E
split-complementary
#2F2CA9 #A96E2C #68A92C
monochromatic
#141348 #211F78 #2F2CA9 #4744CE #7774DB
Accessibility & contrast
On white
10.22
#2F2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F2CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CA9
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CA9 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2ca9; /* rgb */ color: rgb(47, 44, 169); /* oklch */ color: oklch(39.3% 0.191 274.2);
Tailwind
colors: {
custom: {
50: '#7a67c4',
500: '#2f2ca9',
950: '#000000',
},
}SCSS
$custom: #2f2ca9; $custom-light: #7a67c4; $custom-dark: #000000;
JSON
{
"hex": "#2f2ca9",
"rgb": {
"r": 47,
"g": 44,
"b": 169
},
"hsl": {
"h": 241.44,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.39297,
"c": 0.19111,
"h": 274.2
},
"luminance": 0.0527
}Semantic roles & 50–950 ramp
primary
#2F2CA9
secondary
#C1C36E
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82