#2A41A1#2A41A1
#2A41A1 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.158 H 268.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41A1 |
|---|---|
| RGB | rgb(42, 65, 161) |
| HSL | hsl(228, 59%, 40%) |
| HSV | hsv(228, 74%, 63%) |
| CMYK | cmyk(73.9%, 59.6%, 0%, 36.9%) |
| CIE-LAB | lab(31.45, 25.67, -54.59) |
| CIE-LCH | lch(31.45, 60.33, 295.18°) |
| OKLab | oklab(41.89% -0.0044 -0.1575) |
| OKLCH | oklch(41.89% 0.158 268.4) |
| XYZ | xyz(9.2759, 6.8451, 34.5437) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.25
Cobalt
#0047AB
ΔE00 3.83
Blueberry
#464196
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 5.02
Blue Blue
#2242C7
ΔE00 5.16
Ocean Blue
#4F42B5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41A1 #A18A2A
analogous
#2A7DA1 #2A41A1 #4E2AA1
triadic
#2A41A1 #A12A41 #41A12A
tetradic
#2A41A1 #A12A7D #A18A2A #2AA14E
square
#2A41A1 #A12A7D #A18A2A #2AA14E
split-complementary
#2A41A1 #A14E2A #7DA12A
monochromatic
#111A40 #1D2D70 #2A41A1 #3C58CC #6D82D9
Accessibility & contrast
On white
8.86
#2A41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2A41A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41A1
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41A1 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a41a1; /* rgb */ color: rgb(42, 65, 161); /* oklch */ color: oklch(41.9% 0.158 268.4);
Tailwind
colors: {
custom: {
50: '#7575be',
500: '#2a41a1',
950: '#000000',
},
}SCSS
$custom: #2a41a1; $custom-light: #7575be; $custom-dark: #000000;
JSON
{
"hex": "#2a41a1",
"rgb": {
"r": 42,
"g": 65,
"b": 161
},
"hsl": {
"h": 228.403,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.41886,
"c": 0.15759,
"h": 268.4
},
"luminance": 0.06846
}Semantic roles & 50–950 ramp
primary
#2A41A1
secondary
#C0AE67
accent
#C446E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81