#2A41A7#2A41A7
#2A41A7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.166 H 268.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41A7 |
|---|---|
| RGB | rgb(42, 65, 167) |
| HSL | hsl(229, 60%, 41%) |
| HSV | hsv(229, 75%, 65%) |
| CMYK | cmyk(74.9%, 61.1%, 0%, 34.5%) |
| CIE-LAB | lab(31.95, 27.93, -57.40) |
| CIE-LCH | lch(31.95, 63.83, 295.95°) |
| OKLab | oklab(42.41% -0.0044 -0.1658) |
| OKLCH | oklch(42.41% 0.166 268.5) |
| XYZ | xyz(9.8178, 7.0618, 37.3974) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.81
Cobalt
#0047AB
ΔE00 3.87
Blue Blue
#2242C7
ΔE00 4.28
Blueberry
#464196
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 5.65
Ocean Blue
#4F42B5
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41A7 #A7902A
analogous
#2A7FA7 #2A41A7 #512AA7
triadic
#2A41A7 #A72A41 #41A72A
tetradic
#2A41A7 #A72A7F #A7902A #2AA751
square
#2A41A7 #A72A7F #A7902A #2AA751
split-complementary
#2A41A7 #A7512A #7FA72A
monochromatic
#111B45 #1E2E76 #2A41A7 #3F5ACF #7084DB
Accessibility & contrast
On white
8.70
#2A41A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2A41A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41A7
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41A7 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a41a7; /* rgb */ color: rgb(42, 65, 167); /* oklch */ color: oklch(42.4% 0.166 268.5);
Tailwind
colors: {
custom: {
50: '#7675c2',
500: '#2a41a7',
950: '#000000',
},
}SCSS
$custom: #2a41a7; $custom-light: #7675c2; $custom-dark: #000000;
JSON
{
"hex": "#2a41a7",
"rgb": {
"r": 42,
"g": 65,
"b": 167
},
"hsl": {
"h": 228.96,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.42409,
"c": 0.16582,
"h": 268.5
},
"luminance": 0.07063
}Semantic roles & 50–950 ramp
primary
#2A41A7
secondary
#C2B26B
accent
#C645E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81