#2C2ABB#2C2ABB
#2C2ABB is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.216 H 272.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2ABB |
|---|---|
| RGB | rgb(44, 42, 187) |
| HSL | hsl(241, 63%, 45%) |
| HSV | hsv(241, 78%, 73%) |
| CMYK | cmyk(76.5%, 77.5%, 0%, 26.7%) |
| CIE-LAB | lab(28.85, 49.13, -74.42) |
| CIE-LCH | lch(28.85, 89.17, 303.43°) |
| OKLab | oklab(40.78% 0.0077 -0.2154) |
| OKLCH | oklch(40.78% 0.216 272) |
| XYZ | xyz(10.8333, 5.7781, 47.5484) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
True Blue
#010FCC
ΔE00 4.37
Sapphire (survey)
#2138AB
ΔE00 4.72
Ultramarine Blue
#1805DB
ΔE00 5.19
Mediumblue
#0000CD
ΔE00 5.38
Pure Blue
#0203E2
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2ABB #B9BB2A
analogous
#2A70BB #2C2ABB #752ABB
triadic
#2C2ABB #BB2C2A #2ABB2C
tetradic
#2C2ABB #BB2A70 #B9BB2A #2ABB75
square
#2C2ABB #BB2A70 #B9BB2A #2ABB75
split-complementary
#2C2ABB #BB752A #70BB2A
monochromatic
#141457 #201F89 #2C2ABB #4D4CD7 #7F7DE2
Accessibility & contrast
On white
9.74
#2C2ABB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2C2ABB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2ABB
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2ABB | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c2abb; /* rgb */ color: rgb(44, 42, 187); /* oklch */ color: oklch(40.8% 0.216 272.0);
Tailwind
colors: {
custom: {
50: '#7e66d1',
500: '#2c2abb',
950: '#000000',
},
}SCSS
$custom: #2c2abb; $custom-light: #7e66d1; $custom-dark: #000000;
JSON
{
"hex": "#2c2abb",
"rgb": {
"r": 44,
"g": 42,
"b": 187
},
"hsl": {
"h": 240.828,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.40777,
"c": 0.21554,
"h": 272
},
"luminance": 0.05779
}Semantic roles & 50–950 ramp
primary
#2C2ABB
secondary
#C9CA76
accent
#E641E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83