#2A2CA5#2A2CA5
#2A2CA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.187 H 272.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2CA5 |
|---|---|
| RGB | rgb(42, 44, 165) |
| HSL | hsl(239, 59%, 41%) |
| HSV | hsv(239, 75%, 65%) |
| CMYK | cmyk(74.5%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(26.76, 40.54, -64.70) |
| CIE-LCH | lch(26.76, 76.35, 302.07°) |
| OKLab | oklab(38.57% 0.0086 -0.1872) |
| OKLCH | oklch(38.57% 0.187 272.6) |
| XYZ | xyz(8.6448, 5.0093, 36.1013) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Indigo Blue
#3A18B1
ΔE00 4.71
Royal
#0C1793
ΔE00 5.57
Cobalt Blue
#030AA7
ΔE00 6.30
True Blue
#010FCC
ΔE00 6.38
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2CA5 #A5A32A
analogous
#2A6AA5 #2A2CA5 #652AA5
triadic
#2A2CA5 #A52A2C #2CA52A
tetradic
#2A2CA5 #A52A6A #A5A32A #2AA565
square
#2A2CA5 #A52A6A #A5A32A #2AA565
split-complementary
#2A2CA5 #A5652A #6AA52A
monochromatic
#111243 #1E1F74 #2A2CA5 #3E41CE #6F71DA
Accessibility & contrast
On white
10.49
#2A2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2A2CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2CA5
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2CA5 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a2ca5; /* rgb */ color: rgb(42, 44, 165); /* oklch */ color: oklch(38.6% 0.187 272.6);
Tailwind
colors: {
custom: {
50: '#7866c1',
500: '#2a2ca5',
950: '#000000',
},
}SCSS
$custom: #2a2ca5; $custom-light: #7866c1; $custom-dark: #000000;
JSON
{
"hex": "#2a2ca5",
"rgb": {
"r": 42,
"g": 44,
"b": 165
},
"hsl": {
"h": 239.024,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.38572,
"c": 0.18741,
"h": 272.6
},
"luminance": 0.0501
}Semantic roles & 50–950 ramp
primary
#2A2CA5
secondary
#C1C069
accent
#E045E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81