#2A46A1#2A46A1
#2A46A1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.151 H 266.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46A1 |
|---|---|
| RGB | rgb(42, 70, 161) |
| HSL | hsl(226, 59%, 40%) |
| HSV | hsv(226, 74%, 63%) |
| CMYK | cmyk(73.9%, 56.5%, 0%, 36.9%) |
| CIE-LAB | lab(32.80, 22.32, -52.40) |
| CIE-LCH | lch(32.80, 56.96, 293.07°) |
| OKLab | oklab(42.89% -0.0083 -0.151) |
| OKLCH | oklch(42.89% 0.151 266.9) |
| XYZ | xyz(9.5758, 7.4448, 34.6436) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.79
Cobalt (survey)
#1E488F
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 4.83
Sapphire
#0F52BA
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.52
Blueberry
#464196
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46A1 #A1852A
analogous
#2A82A1 #2A46A1 #492AA1
triadic
#2A46A1 #A12A46 #46A12A
tetradic
#2A46A1 #A12A82 #A1852A #2AA149
square
#2A46A1 #A12A82 #A1852A #2AA149
split-complementary
#2A46A1 #A1492A #82A12A
monochromatic
#111C40 #1D3170 #2A46A1 #3C5ECC #6D86D9
Accessibility & contrast
On white
8.44
#2A46A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2A46A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46A1
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46A1 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a46a1; /* rgb */ color: rgb(42, 70, 161); /* oklch */ color: oklch(42.9% 0.151 266.9);
Tailwind
colors: {
custom: {
50: '#7479be',
500: '#2a46a1',
950: '#000000',
},
}SCSS
$custom: #2a46a1; $custom-light: #7479be; $custom-dark: #000000;
JSON
{
"hex": "#2a46a1",
"rgb": {
"r": 42,
"g": 70,
"b": 161
},
"hsl": {
"h": 225.882,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.42894,
"c": 0.15125,
"h": 266.9
},
"luminance": 0.07446
}Semantic roles & 50–950 ramp
primary
#2A46A1
secondary
#C0AB67
accent
#BD46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81