#2A409D#2A409D
#2A409D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.153 H 268.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2A409D |
|---|---|
| RGB | rgb(42, 64, 157) |
| HSL | hsl(229, 58%, 39%) |
| HSV | hsv(229, 73%, 62%) |
| CMYK | cmyk(73.2%, 59.2%, 0%, 38.4%) |
| CIE-LAB | lab(30.86, 24.83, -53.14) |
| CIE-LCH | lch(30.86, 58.65, 295.04°) |
| OKLab | oklab(41.34% -0.0037 -0.1533) |
| OKLCH | oklch(41.34% 0.153 268.6) |
| XYZ | xyz(8.8719, 6.5924, 32.6967) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Cobalt
#0047AB
ΔE00 4.16
Blueberry
#464196
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A409D #9D872A
analogous
#2A7A9D #2A409D #4E2A9D
triadic
#2A409D #9D2A40 #409D2A
tetradic
#2A409D #9D2A7A #9D872A #2A9D4E
square
#2A409D #9D2A7A #9D872A #2A9D4E
split-complementary
#2A409D #9D4E2A #7A9D2A
monochromatic
#10193C #1D2C6D #2A409D #3A56CA #6A7FD7
Accessibility & contrast
On white
9.06
#2A409D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2A409D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A409D
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A409D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A409D | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a409d; /* rgb */ color: rgb(42, 64, 157); /* oklch */ color: oklch(41.3% 0.153 268.6);
Tailwind
colors: {
custom: {
50: '#7474bb',
500: '#2a409d',
950: '#000000',
},
}SCSS
$custom: #2a409d; $custom-light: #7474bb; $custom-dark: #000000;
JSON
{
"hex": "#2a409d",
"rgb": {
"r": 42,
"g": 64,
"b": 157
},
"hsl": {
"h": 228.522,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.41343,
"c": 0.15332,
"h": 268.6
},
"luminance": 0.06593
}Semantic roles & 50–950 ramp
primary
#2A409D
secondary
#BEAD65
accent
#C447E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81