#2A41A5#2A41A5
#2A41A5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.163 H 268.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41A5 |
|---|---|
| RGB | rgb(42, 65, 165) |
| HSL | hsl(229, 59%, 41%) |
| HSV | hsv(229, 75%, 65%) |
| CMYK | cmyk(74.5%, 60.6%, 0%, 35.3%) |
| CIE-LAB | lab(31.78, 27.18, -56.47) |
| CIE-LCH | lch(31.78, 62.67, 295.70°) |
| OKLab | oklab(42.23% -0.0044 -0.163) |
| OKLCH | oklch(42.23% 0.163 268.5) |
| XYZ | xyz(9.6343, 6.9884, 36.4312) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.93
Cobalt
#0047AB
ΔE00 3.83
Blue Blue
#2242C7
ΔE00 4.57
Blueberry
#464196
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.44
Ocean Blue
#4F42B5
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41A5 #A58E2A
analogous
#2A7FA5 #2A41A5 #502AA5
triadic
#2A41A5 #A52A41 #41A52A
tetradic
#2A41A5 #A52A7F #A58E2A #2AA550
square
#2A41A5 #A52A7F #A58E2A #2AA550
split-complementary
#2A41A5 #A5502A #7FA52A
monochromatic
#111B43 #1E2E74 #2A41A5 #3E59CE #6F83DA
Accessibility & contrast
On white
8.76
#2A41A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2A41A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41A5
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41A5 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a41a5; /* rgb */ color: rgb(42, 65, 165); /* oklch */ color: oklch(42.2% 0.163 268.5);
Tailwind
colors: {
custom: {
50: '#7675c1',
500: '#2a41a5',
950: '#000000',
},
}SCSS
$custom: #2a41a5; $custom-light: #7675c1; $custom-dark: #000000;
JSON
{
"hex": "#2a41a5",
"rgb": {
"r": 42,
"g": 65,
"b": 165
},
"hsl": {
"h": 228.78,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.42233,
"c": 0.16309,
"h": 268.5
},
"luminance": 0.06989
}Semantic roles & 50–950 ramp
primary
#2A41A5
secondary
#C1B169
accent
#C545E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81