#2A46A2#2A46A2
#2A46A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.153 H 266.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46A2 |
|---|---|
| RGB | rgb(42, 70, 162) |
| HSL | hsl(226, 59%, 40%) |
| HSV | hsv(226, 74%, 64%) |
| CMYK | cmyk(74.1%, 56.8%, 0%, 36.5%) |
| CIE-LAB | lab(32.88, 22.70, -52.88) |
| CIE-LCH | lch(32.88, 57.54, 293.23°) |
| OKLab | oklab(42.98% -0.0082 -0.1524) |
| OKLCH | oklch(42.98% 0.153 266.9) |
| XYZ | xyz(9.6643, 7.4802, 35.1099) |
| Luminance | 0.0748 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.76
Cobalt (survey)
#1E488F
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 4.75
Sapphire
#0F52BA
ΔE00 5.32
Blue Blue
#2242C7
ΔE00 5.37
Blueberry
#464196
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46A2 #A2862A
analogous
#2A82A2 #2A46A2 #4A2AA2
triadic
#2A46A2 #A22A46 #46A22A
tetradic
#2A46A2 #A22A82 #A2862A #2AA24A
square
#2A46A2 #A22A82 #A2862A #2AA24A
split-complementary
#2A46A2 #A24A2A #82A22A
monochromatic
#111C41 #1D3171 #2A46A2 #3D5ECD #6D86D9
Accessibility & contrast
On white
8.41
#2A46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2A46A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46A2
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46A2 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a46a2; /* rgb */ color: rgb(42, 70, 162); /* oklch */ color: oklch(43.0% 0.153 266.9);
Tailwind
colors: {
custom: {
50: '#7579be',
500: '#2a46a2',
950: '#000000',
},
}SCSS
$custom: #2a46a2; $custom-light: #7579be; $custom-dark: #000000;
JSON
{
"hex": "#2a46a2",
"rgb": {
"r": 42,
"g": 70,
"b": 162
},
"hsl": {
"h": 226,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.42977,
"c": 0.15264,
"h": 266.9
},
"luminance": 0.07481
}Semantic roles & 50–950 ramp
primary
#2A46A2
secondary
#C0AB68
accent
#BE46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81