#2A41A8#2A41A8
#2A41A8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.167 H 268.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41A8 |
|---|---|
| RGB | rgb(42, 65, 168) |
| HSL | hsl(229, 60%, 41%) |
| HSV | hsv(229, 75%, 66%) |
| CMYK | cmyk(75%, 61.3%, 0%, 34.1%) |
| CIE-LAB | lab(32.03, 28.31, -57.86) |
| CIE-LCH | lch(32.03, 64.41, 296.07°) |
| OKLab | oklab(42.5% -0.0044 -0.1671) |
| OKLCH | oklch(42.5% 0.167 268.5) |
| XYZ | xyz(9.9106, 7.0989, 37.8861) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.76
Cobalt
#0047AB
ΔE00 3.89
Blue Blue
#2242C7
ΔE00 4.14
Blueberry
#464196
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.68
Cobalt (survey)
#1E488F
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41A8 #A8912A
analogous
#2A80A8 #2A41A8 #522AA8
triadic
#2A41A8 #A82A41 #41A82A
tetradic
#2A41A8 #A82A80 #A8912A #2AA852
square
#2A41A8 #A82A80 #A8912A #2AA852
split-complementary
#2A41A8 #A8522A #80A82A
monochromatic
#121B46 #1E2E77 #2A41A8 #405ACF #7184DB
Accessibility & contrast
On white
8.68
#2A41A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2A41A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41A8
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41A8 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a41a8; /* rgb */ color: rgb(42, 65, 168); /* oklch */ color: oklch(42.5% 0.167 268.5);
Tailwind
colors: {
custom: {
50: '#7675c3',
500: '#2a41a8',
950: '#000000',
},
}SCSS
$custom: #2a41a8; $custom-light: #7675c3; $custom-dark: #000000;
JSON
{
"hex": "#2a41a8",
"rgb": {
"r": 42,
"g": 65,
"b": 168
},
"hsl": {
"h": 229.048,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.42497,
"c": 0.16718,
"h": 268.5
},
"luminance": 0.071
}Semantic roles & 50–950 ramp
primary
#2A41A8
secondary
#C3B36B
accent
#C645E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82