#2A419C#2A419C
#2A419C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.151 H 268.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A419C |
|---|---|
| RGB | rgb(42, 65, 156) |
| HSL | hsl(228, 58%, 39%) |
| HSV | hsv(228, 73%, 61%) |
| CMYK | cmyk(73.1%, 58.3%, 0%, 38.8%) |
| CIE-LAB | lab(31.05, 23.77, -52.22) |
| CIE-LCH | lch(31.05, 57.38, 294.48°) |
| OKLab | oklab(41.46% -0.0045 -0.1506) |
| OKLCH | oklch(41.46% 0.151 268.3) |
| XYZ | xyz(8.8438, 6.6722, 32.2678) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Cobalt
#0047AB
ΔE00 3.95
Cobalt (survey)
#1E488F
ΔE00 4.53
Blueberry
#464196
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 5.90
Darkish Blue
#014182
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A419C #9C852A
analogous
#2A7A9C #2A419C #4C2A9C
triadic
#2A419C #9C2A41 #419C2A
tetradic
#2A419C #9C2A7A #9C852A #2A9C4C
square
#2A419C #9C2A7A #9C852A #2A9C4C
split-complementary
#2A419C #9C4C2A #7A9C2A
monochromatic
#10193C #1D2D6C #2A419C #3957CA #6A80D7
Accessibility & contrast
On white
9.00
#2A419C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2A419C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A419C
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A419C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A419C | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a419c; /* rgb */ color: rgb(42, 65, 156); /* oklch */ color: oklch(41.5% 0.151 268.3);
Tailwind
colors: {
custom: {
50: '#7475ba',
500: '#2a419c',
950: '#000000',
},
}SCSS
$custom: #2a419c; $custom-light: #7475ba; $custom-dark: #000000;
JSON
{
"hex": "#2a419c",
"rgb": {
"r": 42,
"g": 65,
"b": 156
},
"hsl": {
"h": 227.895,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.41459,
"c": 0.15064,
"h": 268.3
},
"luminance": 0.06673
}Semantic roles & 50–950 ramp
primary
#2A419C
secondary
#BDAB65
accent
#C247E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81