#2A46A8#2A46A8
#2A46A8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.161 H 267.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46A8 |
|---|---|
| RGB | rgb(42, 70, 168) |
| HSL | hsl(227, 60%, 41%) |
| HSV | hsv(227, 75%, 66%) |
| CMYK | cmyk(75%, 58.3%, 0%, 34.1%) |
| CIE-LAB | lab(33.35, 24.98, -55.71) |
| CIE-LCH | lch(33.35, 61.06, 294.15°) |
| OKLab | oklab(43.48% -0.008 -0.1607) |
| OKLCH | oklch(43.48% 0.161 267.2) |
| XYZ | xyz(10.2104, 7.6986, 37.9861) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.78
Sapphire (survey)
#2138AB
ΔE00 4.39
Blue Blue
#2242C7
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 4.69
Sapphire
#0F52BA
ΔE00 5.08
Blueberry
#464196
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46A8 #A88C2A
analogous
#2A85A8 #2A46A8 #4D2AA8
triadic
#2A46A8 #A82A46 #46A82A
tetradic
#2A46A8 #A82A85 #A88C2A #2AA84D
square
#2A46A8 #A82A85 #A88C2A #2AA84D
split-complementary
#2A46A8 #A84D2A #85A82A
monochromatic
#121D46 #1E3277 #2A46A8 #4060CF #7189DB
Accessibility & contrast
On white
8.27
#2A46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2A46A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46A8
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46A8 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a46a8; /* rgb */ color: rgb(42, 70, 168); /* oklch */ color: oklch(43.5% 0.161 267.2);
Tailwind
colors: {
custom: {
50: '#7679c3',
500: '#2a46a8',
950: '#000000',
},
}SCSS
$custom: #2a46a8; $custom-light: #7679c3; $custom-dark: #000000;
JSON
{
"hex": "#2a46a8",
"rgb": {
"r": 42,
"g": 70,
"b": 168
},
"hsl": {
"h": 226.667,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.43478,
"c": 0.16095,
"h": 267.2
},
"luminance": 0.077
}Semantic roles & 50–950 ramp
primary
#2A46A8
secondary
#C3AF6B
accent
#C045E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81