#2A2CB1#2A2CB1
#2A2CB1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.8% C 0.202 H 271.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2CB1 |
|---|---|
| RGB | rgb(42, 44, 177) |
| HSL | hsl(239, 62%, 43%) |
| HSV | hsv(239, 76%, 69%) |
| CMYK | cmyk(76.3%, 75.1%, 0%, 30.6%) |
| CIE-LAB | lab(28.03, 44.60, -69.83) |
| CIE-LCH | lch(28.03, 82.86, 302.57°) |
| OKLab | oklab(39.85% 0.0066 -0.2021) |
| OKLCH | oklch(39.85% 0.202 271.9) |
| XYZ | xyz(9.7887, 5.4669, 42.1258) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Indigo Blue
#3A18B1
ΔE00 4.21
True Blue
#010FCC
ΔE00 5.30
Mediumblue
#0000CD
ΔE00 6.25
Ultramarine Blue
#1805DB
ΔE00 6.43
Cobalt Blue
#030AA7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2CB1 #B1AF2A
analogous
#2A6FB1 #2A2CB1 #6B2AB1
triadic
#2A2CB1 #B12A2C #2CB12A
tetradic
#2A2CB1 #B12A6F #B1AF2A #2AB16B
square
#2A2CB1 #B12A6F #B1AF2A #2AB16B
split-complementary
#2A2CB1 #B16B2A #6FB12A
monochromatic
#13134E #1E2080 #2A2CB1 #4547D3 #7778DF
Accessibility & contrast
On white
10.03
#2A2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2A2CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2CB1
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2CB1 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a2cb1; /* rgb */ color: rgb(42, 44, 177); /* oklch */ color: oklch(39.8% 0.202 271.9);
Tailwind
colors: {
custom: {
50: '#7b67ca',
500: '#2a2cb1',
950: '#000000',
},
}SCSS
$custom: #2a2cb1; $custom-light: #7b67ca; $custom-dark: #000000;
JSON
{
"hex": "#2a2cb1",
"rgb": {
"r": 42,
"g": 44,
"b": 177
},
"hsl": {
"h": 239.111,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.39847,
"c": 0.20225,
"h": 271.9
},
"luminance": 0.05468
}Semantic roles & 50–950 ramp
primary
#2A2CB1
secondary
#C6C570
accent
#E243E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82