#2A41AB#2A41AB
#2A41AB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.171 H 268.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41AB |
|---|---|
| RGB | rgb(42, 65, 171) |
| HSL | hsl(229, 61%, 42%) |
| HSV | hsv(229, 75%, 67%) |
| CMYK | cmyk(75.4%, 62%, 0%, 32.9%) |
| CIE-LAB | lab(32.28, 29.43, -59.24) |
| CIE-LCH | lch(32.28, 66.15, 296.42°) |
| OKLab | oklab(42.76% -0.0044 -0.1712) |
| OKLCH | oklch(42.76% 0.171 268.5) |
| XYZ | xyz(10.1933, 7.2120, 39.3750) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Blue Blue
#2242C7
ΔE00 3.71
Cobalt
#0047AB
ΔE00 4.00
Blueberry
#464196
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 5.43
Cobalt (survey)
#1E488F
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41AB #AB942A
analogous
#2A82AB #2A41AB #542AAB
triadic
#2A41AB #AB2A41 #41AB2A
tetradic
#2A41AB #AB2A82 #AB942A #2AAB54
square
#2A41AB #AB2A82 #AB942A #2AAB54
split-complementary
#2A41AB #AB542A #82AB2A
monochromatic
#121C49 #1E2E7A #2A41AB #425BD1 #7386DD
Accessibility & contrast
On white
8.60
#2A41AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A41AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41AB
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41AB | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a41ab; /* rgb */ color: rgb(42, 65, 171); /* oklch */ color: oklch(42.8% 0.171 268.5);
Tailwind
colors: {
custom: {
50: '#7775c5',
500: '#2a41ab',
950: '#000000',
},
}SCSS
$custom: #2a41ab; $custom-light: #7775c5; $custom-dark: #000000;
JSON
{
"hex": "#2a41ab",
"rgb": {
"r": 42,
"g": 65,
"b": 171
},
"hsl": {
"h": 229.302,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.42764,
"c": 0.17123,
"h": 268.5
},
"luminance": 0.07213
}Semantic roles & 50–950 ramp
primary
#2A41AB
secondary
#C4B46D
accent
#C744E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82