#2A41A2#2A41A2
#2A41A2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.159 H 268.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41A2 |
|---|---|
| RGB | rgb(42, 65, 162) |
| HSL | hsl(229, 59%, 40%) |
| HSV | hsv(229, 74%, 64%) |
| CMYK | cmyk(74.1%, 59.9%, 0%, 36.5%) |
| CIE-LAB | lab(31.53, 26.05, -55.06) |
| CIE-LCH | lch(31.53, 60.91, 295.32°) |
| OKLab | oklab(41.97% -0.0044 -0.1589) |
| OKLCH | oklch(41.97% 0.159 268.4) |
| XYZ | xyz(9.3645, 6.8805, 35.0100) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.17
Cobalt
#0047AB
ΔE00 3.82
Blueberry
#464196
ΔE00 4.77
Blue Blue
#2242C7
ΔE00 5.01
Cobalt (survey)
#1E488F
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41A2 #A28B2A
analogous
#2A7DA2 #2A41A2 #4F2AA2
triadic
#2A41A2 #A22A41 #41A22A
tetradic
#2A41A2 #A22A7D #A28B2A #2AA24F
square
#2A41A2 #A22A7D #A28B2A #2AA24F
split-complementary
#2A41A2 #A24F2A #7DA22A
monochromatic
#111A41 #1D2D71 #2A41A2 #3D58CD #6D82D9
Accessibility & contrast
On white
8.84
#2A41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2A41A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41A2
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41A2 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a41a2; /* rgb */ color: rgb(42, 65, 162); /* oklch */ color: oklch(42.0% 0.159 268.4);
Tailwind
colors: {
custom: {
50: '#7575be',
500: '#2a41a2',
950: '#000000',
},
}SCSS
$custom: #2a41a2; $custom-light: #7575be; $custom-dark: #000000;
JSON
{
"hex": "#2a41a2",
"rgb": {
"r": 42,
"g": 65,
"b": 162
},
"hsl": {
"h": 228.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.41972,
"c": 0.15897,
"h": 268.4
},
"luminance": 0.06881
}Semantic roles & 50–950 ramp
primary
#2A41A2
secondary
#C0AF68
accent
#C446E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81