#2A2CB8#2A2CB8
#2A2CB8 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.211 H 271.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2CB8 |
|---|---|
| RGB | rgb(42, 44, 184) |
| HSL | hsl(239, 63%, 44%) |
| HSV | hsv(239, 77%, 72%) |
| CMYK | cmyk(77.2%, 76.1%, 0%, 27.8%) |
| CIE-LAB | lab(28.78, 46.92, -72.75) |
| CIE-LCH | lch(28.78, 86.57, 302.82°) |
| OKLab | oklab(40.61% 0.0053 -0.2106) |
| OKLCH | oklch(40.61% 0.211 271.4) |
| XYZ | xyz(10.5043, 5.7531, 45.8950) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.09
Indigo Blue
#3A18B1
ΔE00 4.23
True Blue
#010FCC
ΔE00 4.87
Ultramarine Blue
#1805DB
ΔE00 5.78
Mediumblue
#0000CD
ΔE00 5.88
Pure Blue
#0203E2
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2CB8 #B8B62A
analogous
#2A73B8 #2A2CB8 #6F2AB8
triadic
#2A2CB8 #B82A2C #2CB82A
tetradic
#2A2CB8 #B82A73 #B8B62A #2AB86F
square
#2A2CB8 #B82A73 #B8B62A #2AB86F
split-complementary
#2A2CB8 #B86F2A #73B82A
monochromatic
#131454 #1F2086 #2A2CB8 #4A4CD6 #7B7DE1
Accessibility & contrast
On white
9.76
#2A2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A2CB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2CB8
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2CB8 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a2cb8; /* rgb */ color: rgb(42, 44, 184); /* oklch */ color: oklch(40.6% 0.211 271.4);
Tailwind
colors: {
custom: {
50: '#7c67cf',
500: '#2a2cb8',
950: '#000000',
},
}SCSS
$custom: #2a2cb8; $custom-light: #7c67cf; $custom-dark: #000000;
JSON
{
"hex": "#2a2cb8",
"rgb": {
"r": 42,
"g": 44,
"b": 184
},
"hsl": {
"h": 239.155,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.40605,
"c": 0.21069,
"h": 271.4
},
"luminance": 0.05754
}Semantic roles & 50–950 ramp
primary
#2A2CB8
secondary
#C9C875
accent
#E442E6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82