#2C2EB5#2C2EB5
#2C2EB5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.205 H 272.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2EB5 |
|---|---|
| RGB | rgb(44, 46, 181) |
| HSL | hsl(239, 61%, 44%) |
| HSV | hsv(239, 76%, 71%) |
| CMYK | cmyk(75.7%, 74.6%, 0%, 29%) |
| CIE-LAB | lab(28.97, 44.97, -70.66) |
| CIE-LCH | lch(28.97, 83.76, 302.48°) |
| OKLab | oklab(40.67% 0.0073 -0.2045) |
| OKLCH | oklch(40.67% 0.205 272) |
| XYZ | xyz(10.3534, 5.8246, 44.2857) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Indigo Blue
#3A18B1
ΔE00 4.57
True Blue
#010FCC
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.94
Blue With A Hint Of Purple
#533CC6
ΔE00 6.11
Ocean Blue
#4F42B5
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2EB5 #B5B32C
analogous
#2C73B5 #2C2EB5 #6F2CB5
triadic
#2C2EB5 #B52C2E #2EB52C
tetradic
#2C2EB5 #B52C73 #B5B32C #2CB56F
square
#2C2EB5 #B52C73 #B5B32C #2CB56F
split-complementary
#2C2EB5 #B56F2C #73B52C
monochromatic
#141553 #202184 #2C2EB5 #4B4DD3 #7C7EDF
Accessibility & contrast
On white
9.70
#2C2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2C2EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2EB5
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2EB5 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003DB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c2eb5; /* rgb */ color: rgb(44, 46, 181); /* oklch */ color: oklch(40.7% 0.205 272.0);
Tailwind
colors: {
custom: {
50: '#7c68cc',
500: '#2c2eb5',
950: '#000000',
},
}SCSS
$custom: #2c2eb5; $custom-light: #7c68cc; $custom-dark: #000000;
JSON
{
"hex": "#2c2eb5",
"rgb": {
"r": 44,
"g": 46,
"b": 181
},
"hsl": {
"h": 239.124,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.40671,
"c": 0.20465,
"h": 272
},
"luminance": 0.05826
}Semantic roles & 50–950 ramp
primary
#2C2EB5
secondary
#C8C675
accent
#E244E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82