#2C2FB7#2C2FB7
#2C2FB7 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.206 H 271.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2FB7 |
|---|---|
| RGB | rgb(44, 47, 183) |
| HSL | hsl(239, 61%, 45%) |
| HSV | hsv(239, 76%, 72%) |
| CMYK | cmyk(76%, 74.3%, 0%, 28.2%) |
| CIE-LAB | lab(29.38, 45.07, -71.16) |
| CIE-LCH | lch(29.38, 84.24, 302.35°) |
| OKLab | oklab(41.03% 0.0065 -0.206) |
| OKLCH | oklch(41.03% 0.206 271.8) |
| XYZ | xyz(10.5996, 5.9863, 45.3874) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.52
Indigo Blue
#3A18B1
ΔE00 4.82
True Blue
#010FCC
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 5.61
Blue With A Hint Of Purple
#533CC6
ΔE00 5.86
Ocean Blue
#4F42B5
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2FB7 #B7B42C
analogous
#2C75B7 #2C2FB7 #6F2CB7
triadic
#2C2FB7 #B72C2F #2FB72C
tetradic
#2C2FB7 #B72C75 #B7B42C #2CB76F
square
#2C2FB7 #B72C75 #B7B42C #2CB76F
split-complementary
#2C2FB7 #B76F2C #75B72C
monochromatic
#141654 #202286 #2C2FB7 #4C4FD4 #7E80E0
Accessibility & contrast
On white
9.56
#2C2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2C2FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2FB7
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2FB7 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c2fb7; /* rgb */ color: rgb(44, 47, 183); /* oklch */ color: oklch(41.0% 0.206 271.8);
Tailwind
colors: {
custom: {
50: '#7c69ce',
500: '#2c2fb7',
950: '#000000',
},
}SCSS
$custom: #2c2fb7; $custom-light: #7c69ce; $custom-dark: #000000;
JSON
{
"hex": "#2c2fb7",
"rgb": {
"r": 44,
"g": 47,
"b": 183
},
"hsl": {
"h": 238.705,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.41026,
"c": 0.2061,
"h": 271.8
},
"luminance": 0.05987
}Semantic roles & 50–950 ramp
primary
#2C2FB7
secondary
#C8C776
accent
#E143E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82