#2A41B6#2A41B6
#2A41B6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.186 H 268.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41B6 |
|---|---|
| RGB | rgb(42, 65, 182) |
| HSL | hsl(230, 63%, 44%) |
| HSV | hsv(230, 77%, 71%) |
| CMYK | cmyk(76.9%, 64.3%, 0%, 28.6%) |
| CIE-LAB | lab(33.24, 33.51, -64.22) |
| CIE-LCH | lch(33.24, 72.44, 297.55°) |
| OKLab | oklab(43.77% -0.0047 -0.1858) |
| OKLCH | oklch(43.77% 0.186 268.6) |
| XYZ | xyz(11.2857, 7.6490, 45.1285) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.20
Sapphire (survey)
#2138AB
ΔE00 2.93
Cobalt
#0047AB
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 4.79
Blue (survey)
#0343DF
ΔE00 5.05
Blueberry
#464196
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41B6 #B69F2A
analogous
#2A87B6 #2A41B6 #592AB6
triadic
#2A41B6 #B62A41 #41B62A
tetradic
#2A41B6 #B62A87 #B69F2A #2AB659
square
#2A41B6 #B62A87 #B69F2A #2AB659
split-complementary
#2A41B6 #B6592A #87B62A
monochromatic
#131D53 #1F2F84 #2A41B6 #485FD5 #7A8BE0
Accessibility & contrast
On white
8.30
#2A41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2A41B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41B6
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41B6 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a41b6; /* rgb */ color: rgb(42, 65, 182); /* oklch */ color: oklch(43.8% 0.186 268.6);
Tailwind
colors: {
custom: {
50: '#7a75cd',
500: '#2a41b6',
950: '#000000',
},
}SCSS
$custom: #2a41b6; $custom-light: #7a75cd; $custom-dark: #000000;
JSON
{
"hex": "#2a41b6",
"rgb": {
"r": 42,
"g": 65,
"b": 182
},
"hsl": {
"h": 230.143,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.43765,
"c": 0.18582,
"h": 268.6
},
"luminance": 0.0765
}Semantic roles & 50–950 ramp
primary
#2A41B6
secondary
#C8BA73
accent
#CB42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82