#2A409E#2A409E
#2A409E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.155 H 268.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2A409E |
|---|---|
| RGB | rgb(42, 64, 158) |
| HSL | hsl(229, 58%, 39%) |
| HSV | hsv(229, 73%, 62%) |
| CMYK | cmyk(73.4%, 59.5%, 0%, 38%) |
| CIE-LAB | lab(30.94, 25.20, -53.61) |
| CIE-LCH | lch(30.94, 59.24, 295.18°) |
| OKLab | oklab(41.43% -0.0037 -0.1547) |
| OKLCH | oklch(41.43% 0.155 268.6) |
| XYZ | xyz(8.9577, 6.6267, 33.1481) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Cobalt
#0047AB
ΔE00 4.13
Blueberry
#464196
ΔE00 4.60
Cobalt (survey)
#1E488F
ΔE00 5.00
Blue Blue
#2242C7
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A409E #9E882A
analogous
#2A7A9E #2A409E #4E2A9E
triadic
#2A409E #9E2A40 #409E2A
tetradic
#2A409E #9E2A7A #9E882A #2A9E4E
square
#2A409E #9E2A7A #9E882A #2A9E4E
split-complementary
#2A409E #9E4E2A #7A9E2A
monochromatic
#10193D #1D2C6E #2A409E #3A56CB #6B7FD8
Accessibility & contrast
On white
9.03
#2A409E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2A409E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A409E
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A409E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A409E | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a409e; /* rgb */ color: rgb(42, 64, 158); /* oklch */ color: oklch(41.4% 0.155 268.6);
Tailwind
colors: {
custom: {
50: '#7474bb',
500: '#2a409e',
950: '#000000',
},
}SCSS
$custom: #2a409e; $custom-light: #7474bb; $custom-dark: #000000;
JSON
{
"hex": "#2a409e",
"rgb": {
"r": 42,
"g": 64,
"b": 158
},
"hsl": {
"h": 228.621,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.41429,
"c": 0.1547,
"h": 268.6
},
"luminance": 0.06628
}Semantic roles & 50–950 ramp
primary
#2A409E
secondary
#BEAD66
accent
#C447E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81