#2C2FA9#2C2FA9
#2C2FA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.189 H 272.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2FA9 |
|---|---|
| RGB | rgb(44, 47, 169) |
| HSL | hsl(239, 59%, 42%) |
| HSV | hsv(239, 74%, 66%) |
| CMYK | cmyk(74%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(27.93, 40.33, -65.18) |
| CIE-LCH | lch(27.93, 76.65, 301.75°) |
| OKLab | oklab(39.56% 0.0088 -0.1886) |
| OKLCH | oklch(39.56% 0.189 272.7) |
| XYZ | xyz(9.2142, 5.4321, 38.0913) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Indigo Blue
#3A18B1
ΔE00 5.08
Ocean Blue
#4F42B5
ΔE00 6.44
Royal
#0C1793
ΔE00 6.47
Blue Blue
#2242C7
ΔE00 6.52
True Blue
#010FCC
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2FA9 #A9A62C
analogous
#2C6EA9 #2C2FA9 #682CA9
triadic
#2C2FA9 #A92C2F #2FA92C
tetradic
#2C2FA9 #A92C6E #A9A62C #2CA968
square
#2C2FA9 #A92C6E #A9A62C #2CA968
split-complementary
#2C2FA9 #A9682C #6EA92C
monochromatic
#131448 #1F2178 #2C2FA9 #4447CE #7477DB
Accessibility & contrast
On white
10.06
#2C2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2C2FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2FA9
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2FA9 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2c2fa9; /* rgb */ color: rgb(44, 47, 169); /* oklch */ color: oklch(39.6% 0.189 272.7);
Tailwind
colors: {
custom: {
50: '#7969c4',
500: '#2c2fa9',
950: '#000000',
},
}SCSS
$custom: #2c2fa9; $custom-light: #7969c4; $custom-dark: #000000;
JSON
{
"hex": "#2c2fa9",
"rgb": {
"r": 44,
"g": 47,
"b": 169
},
"hsl": {
"h": 238.56,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.39564,
"c": 0.18878,
"h": 272.7
},
"luminance": 0.05433
}Semantic roles & 50–950 ramp
primary
#2C2FA9
secondary
#C3C16E
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82