#2A419A#2A419A
#2A419A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.148 H 268.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2A419A |
|---|---|
| RGB | rgb(42, 65, 154) |
| HSL | hsl(228, 57%, 38%) |
| HSV | hsv(228, 73%, 60%) |
| CMYK | cmyk(72.7%, 57.8%, 0%, 39.6%) |
| CIE-LAB | lab(30.89, 23.01, -51.27) |
| CIE-LCH | lch(30.89, 56.20, 294.18°) |
| OKLab | oklab(41.29% -0.0046 -0.1478) |
| OKLCH | oklch(41.29% 0.148 268.2) |
| XYZ | xyz(8.6759, 6.6050, 31.3833) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.00
Cobalt
#0047AB
ΔE00 4.03
Cobalt (survey)
#1E488F
ΔE00 4.35
Blueberry
#464196
ΔE00 4.71
Darkish Blue
#014182
ΔE00 6.08
Blue Blue
#2242C7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A419A #9A832A
analogous
#2A799A #2A419A #4B2A9A
triadic
#2A419A #9A2A41 #419A2A
tetradic
#2A419A #9A2A79 #9A832A #2A9A4B
square
#2A419A #9A2A79 #9A832A #2A9A4B
split-complementary
#2A419A #9A4B2A #799A2A
monochromatic
#10183A #1D2D6A #2A419A #3856C9 #687FD6
Accessibility & contrast
On white
9.05
#2A419A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2A419A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A419A
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A419A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A419A | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a419a; /* rgb */ color: rgb(42, 65, 154); /* oklch */ color: oklch(41.3% 0.148 268.2);
Tailwind
colors: {
custom: {
50: '#7375b8',
500: '#2a419a',
950: '#000000',
},
}SCSS
$custom: #2a419a; $custom-light: #7375b8; $custom-dark: #000000;
JSON
{
"hex": "#2a419a",
"rgb": {
"r": 42,
"g": 65,
"b": 154
},
"hsl": {
"h": 227.679,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.4129,
"c": 0.14783,
"h": 268.2
},
"luminance": 0.06606
}Semantic roles & 50–950 ramp
primary
#2A419A
secondary
#BCAA63
accent
#C147E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80