#2A419B#2A419B
#2A419B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.149 H 268.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A419B |
|---|---|
| RGB | rgb(42, 65, 155) |
| HSL | hsl(228, 57%, 39%) |
| HSV | hsv(228, 73%, 61%) |
| CMYK | cmyk(72.9%, 58.1%, 0%, 39.2%) |
| CIE-LAB | lab(30.97, 23.39, -51.75) |
| CIE-LCH | lch(30.97, 56.79, 294.33°) |
| OKLab | oklab(41.37% -0.0046 -0.1492) |
| OKLCH | oklch(41.37% 0.149 268.2) |
| XYZ | xyz(8.7595, 6.6385, 31.8237) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Cobalt
#0047AB
ΔE00 3.99
Cobalt (survey)
#1E488F
ΔE00 4.44
Blueberry
#464196
ΔE00 4.70
Blue Blue
#2242C7
ΔE00 6.04
Darkish Blue
#014182
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A419B #9B842A
analogous
#2A799B #2A419B #4C2A9B
triadic
#2A419B #9B2A41 #419B2A
tetradic
#2A419B #9B2A79 #9B842A #2A9B4C
square
#2A419B #9B2A79 #9B842A #2A9B4C
split-complementary
#2A419B #9B4C2A #799B2A
monochromatic
#10193B #1D2D6B #2A419B #3956C9 #697FD6
Accessibility & contrast
On white
9.02
#2A419B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2A419B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A419B
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A419B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A419B | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a419b; /* rgb */ color: rgb(42, 65, 155); /* oklch */ color: oklch(41.4% 0.149 268.2);
Tailwind
colors: {
custom: {
50: '#7375b9',
500: '#2a419b',
950: '#000000',
},
}SCSS
$custom: #2a419b; $custom-light: #7375b9; $custom-dark: #000000;
JSON
{
"hex": "#2a419b",
"rgb": {
"r": 42,
"g": 65,
"b": 155
},
"hsl": {
"h": 227.788,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.41374,
"c": 0.14924,
"h": 268.2
},
"luminance": 0.06639
}Semantic roles & 50–950 ramp
primary
#2A419B
secondary
#BDAB64
accent
#C147E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81