#2C2FB5#2C2FB5
#2C2FB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.204 H 271.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2FB5 |
|---|---|
| RGB | rgb(44, 47, 181) |
| HSL | hsl(239, 61%, 44%) |
| HSV | hsv(239, 76%, 71%) |
| CMYK | cmyk(75.7%, 74%, 0%, 29%) |
| CIE-LAB | lab(29.17, 44.41, -70.32) |
| CIE-LCH | lch(29.17, 83.17, 302.27°) |
| OKLab | oklab(40.82% 0.0068 -0.2035) |
| OKLCH | oklch(40.82% 0.204 271.9) |
| XYZ | xyz(10.3929, 5.9036, 44.2989) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.39
Indigo Blue
#3A18B1
ΔE00 4.81
True Blue
#010FCC
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.72
Blue With A Hint Of Purple
#533CC6
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2FB5 #B5B22C
analogous
#2C74B5 #2C2FB5 #6E2CB5
triadic
#2C2FB5 #B52C2F #2FB52C
tetradic
#2C2FB5 #B52C74 #B5B22C #2CB56E
square
#2C2FB5 #B52C74 #B5B22C #2CB56E
split-complementary
#2C2FB5 #B56E2C #74B52C
monochromatic
#141553 #202284 #2C2FB5 #4B4ED3 #7C7EDF
Accessibility & contrast
On white
9.63
#2C2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2C2FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2FB5
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2FB5 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c2fb5; /* rgb */ color: rgb(44, 47, 181); /* oklch */ color: oklch(40.8% 0.204 271.9);
Tailwind
colors: {
custom: {
50: '#7c69cc',
500: '#2c2fb5',
950: '#000000',
},
}SCSS
$custom: #2c2fb5; $custom-light: #7c69cc; $custom-dark: #000000;
JSON
{
"hex": "#2c2fb5",
"rgb": {
"r": 44,
"g": 47,
"b": 181
},
"hsl": {
"h": 238.686,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.40815,
"c": 0.20366,
"h": 271.9
},
"luminance": 0.05905
}Semantic roles & 50–950 ramp
primary
#2C2FB5
secondary
#C8C675
accent
#E144E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82