#2A41AA#2A41AA
#2A41AA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.170 H 268.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41AA |
|---|---|
| RGB | rgb(42, 65, 170) |
| HSL | hsl(229, 60%, 42%) |
| HSV | hsv(229, 75%, 67%) |
| CMYK | cmyk(75.3%, 61.8%, 0%, 33.3%) |
| CIE-LAB | lab(32.20, 29.06, -58.78) |
| CIE-LCH | lch(32.20, 65.57, 296.30°) |
| OKLab | oklab(42.68% -0.0044 -0.1698) |
| OKLCH | oklch(42.68% 0.17 268.5) |
| XYZ | xyz(10.0983, 7.1740, 38.8749) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.69
Blue Blue
#2242C7
ΔE00 3.85
Cobalt
#0047AB
ΔE00 3.96
Blueberry
#464196
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 5.51
Cobalt (survey)
#1E488F
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41AA #AA932A
analogous
#2A81AA #2A41AA #532AAA
triadic
#2A41AA #AA2A41 #41AA2A
tetradic
#2A41AA #AA2A81 #AA932A #2AAA53
square
#2A41AA #AA2A81 #AA932A #2AAA53
split-complementary
#2A41AA #AA532A #81AA2A
monochromatic
#121B48 #1E2E79 #2A41AA #415BD0 #7285DC
Accessibility & contrast
On white
8.62
#2A41AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2A41AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41AA
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41AA | 1.00 | 8.62 | 2.43 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a41aa; /* rgb */ color: rgb(42, 65, 170); /* oklch */ color: oklch(42.7% 0.170 268.5);
Tailwind
colors: {
custom: {
50: '#7775c4',
500: '#2a41aa',
950: '#000000',
},
}SCSS
$custom: #2a41aa; $custom-light: #7775c4; $custom-dark: #000000;
JSON
{
"hex": "#2a41aa",
"rgb": {
"r": 42,
"g": 65,
"b": 170
},
"hsl": {
"h": 229.219,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.42675,
"c": 0.16989,
"h": 268.5
},
"luminance": 0.07175
}Semantic roles & 50–950 ramp
primary
#2A41AA
secondary
#C3B46C
accent
#C744E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82