#2A419F#2A419F
#2A419F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.155 H 268.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A419F |
|---|---|
| RGB | rgb(42, 65, 159) |
| HSL | hsl(228, 58%, 39%) |
| HSV | hsv(228, 74%, 62%) |
| CMYK | cmyk(73.6%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(31.29, 24.91, -53.65) |
| CIE-LCH | lch(31.29, 59.15, 294.91°) |
| OKLab | oklab(41.71% -0.0045 -0.1548) |
| OKLCH | oklch(41.71% 0.155 268.3) |
| XYZ | xyz(9.1010, 6.7751, 33.6222) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.45
Cobalt
#0047AB
ΔE00 3.86
Blueberry
#464196
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A419F #9F882A
analogous
#2A7C9F #2A419F #4E2A9F
triadic
#2A419F #9F2A41 #419F2A
tetradic
#2A419F #9F2A7C #9F882A #2A9F4E
square
#2A419F #9F2A7C #9F882A #2A9F4E
split-complementary
#2A419F #9F4E2A #7C9F2A
monochromatic
#10193E #1D2D6F #2A419F #3B57CB #6B81D8
Accessibility & contrast
On white
8.92
#2A419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2A419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A419F
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A419F | 1.00 | 8.92 | 2.36 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a419f; /* rgb */ color: rgb(42, 65, 159); /* oklch */ color: oklch(41.7% 0.155 268.3);
Tailwind
colors: {
custom: {
50: '#7475bc',
500: '#2a419f',
950: '#000000',
},
}SCSS
$custom: #2a419f; $custom-light: #7475bc; $custom-dark: #000000;
JSON
{
"hex": "#2a419f",
"rgb": {
"r": 42,
"g": 65,
"b": 159
},
"hsl": {
"h": 228.205,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.41714,
"c": 0.15482,
"h": 268.3
},
"luminance": 0.06776
}Semantic roles & 50–950 ramp
primary
#2A419F
secondary
#BFAD66
accent
#C346E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81