#2A41A3#2A41A3
#2A41A3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.160 H 268.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41A3 |
|---|---|
| RGB | rgb(42, 65, 163) |
| HSL | hsl(229, 59%, 40%) |
| HSV | hsv(229, 74%, 64%) |
| CMYK | cmyk(74.2%, 60.1%, 0%, 36.1%) |
| CIE-LAB | lab(31.62, 26.42, -55.53) |
| CIE-LCH | lch(31.62, 61.50, 295.45°) |
| OKLab | oklab(42.06% -0.0044 -0.1603) |
| OKLCH | oklch(42.06% 0.16 268.4) |
| XYZ | xyz(9.4537, 6.9162, 35.4800) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Cobalt
#0047AB
ΔE00 3.82
Blueberry
#464196
ΔE00 4.80
Blue Blue
#2242C7
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41A3 #A38C2A
analogous
#2A7DA3 #2A41A3 #4F2AA3
triadic
#2A41A3 #A32A41 #41A32A
tetradic
#2A41A3 #A32A7D #A38C2A #2AA34F
square
#2A41A3 #A32A7D #A38C2A #2AA34F
split-complementary
#2A41A3 #A34F2A #7DA32A
monochromatic
#111A42 #1D2E72 #2A41A3 #3D59CD #6E82DA
Accessibility & contrast
On white
8.81
#2A41A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2A41A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41A3
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41A3 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a41a3; /* rgb */ color: rgb(42, 65, 163); /* oklch */ color: oklch(42.1% 0.160 268.4);
Tailwind
colors: {
custom: {
50: '#7575bf',
500: '#2a41a3',
950: '#000000',
},
}SCSS
$custom: #2a41a3; $custom-light: #7575bf; $custom-dark: #000000;
JSON
{
"hex": "#2a41a3",
"rgb": {
"r": 42,
"g": 65,
"b": 163
},
"hsl": {
"h": 228.595,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.42059,
"c": 0.16035,
"h": 268.4
},
"luminance": 0.06917
}Semantic roles & 50–950 ramp
primary
#2A41A3
secondary
#C0B068
accent
#C446E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81