#2A409A#2A409A
#2A409A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.149 H 268.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A409A |
|---|---|
| RGB | rgb(42, 64, 154) |
| HSL | hsl(228, 57%, 38%) |
| HSV | hsv(228, 73%, 60%) |
| CMYK | cmyk(72.7%, 58.4%, 0%, 39.6%) |
| CIE-LAB | lab(30.62, 23.69, -51.71) |
| CIE-LCH | lch(30.62, 56.88, 294.61°) |
| OKLab | oklab(41.09% -0.0038 -0.1491) |
| OKLCH | oklch(41.09% 0.149 268.5) |
| XYZ | xyz(8.6190, 6.4912, 31.3643) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.74
Cobalt
#0047AB
ΔE00 4.26
Blueberry
#464196
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 4.65
Blue Blue
#2242C7
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A409A #9A842A
analogous
#2A789A #2A409A #4C2A9A
triadic
#2A409A #9A2A40 #409A2A
tetradic
#2A409A #9A2A78 #9A842A #2A9A4C
square
#2A409A #9A2A78 #9A842A #2A9A4C
split-complementary
#2A409A #9A4C2A #789A2A
monochromatic
#10183A #1D2C6A #2A409A #3855C9 #687ED6
Accessibility & contrast
On white
9.14
#2A409A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2A409A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A409A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A409A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A409A | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a409a; /* rgb */ color: rgb(42, 64, 154); /* oklch */ color: oklch(41.1% 0.149 268.5);
Tailwind
colors: {
custom: {
50: '#7374b8',
500: '#2a409a',
950: '#000000',
},
}SCSS
$custom: #2a409a; $custom-light: #7374b8; $custom-dark: #000000;
JSON
{
"hex": "#2a409a",
"rgb": {
"r": 42,
"g": 64,
"b": 154
},
"hsl": {
"h": 228.214,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.41088,
"c": 0.14912,
"h": 268.5
},
"luminance": 0.06492
}Semantic roles & 50–950 ramp
primary
#2A409A
secondary
#BCAB63
accent
#C247E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80