#2A46AC#2A46AC
#2A46AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.166 H 267.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46AC |
|---|---|
| RGB | rgb(42, 70, 172) |
| HSL | hsl(227, 61%, 42%) |
| HSV | hsv(227, 76%, 67%) |
| CMYK | cmyk(75.6%, 59.3%, 0%, 32.5%) |
| CIE-LAB | lab(33.67, 26.50, -57.58) |
| CIE-LCH | lch(33.67, 63.38, 294.71°) |
| OKLab | oklab(43.82% -0.0079 -0.1662) |
| OKLCH | oklch(43.82% 0.166 267.3) |
| XYZ | xyz(10.5888, 7.8500, 39.9789) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.94
Blue Blue
#2242C7
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 4.25
Sapphire
#0F52BA
ΔE00 4.99
Cobalt (survey)
#1E488F
ΔE00 5.21
Blueberry
#464196
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46AC #AC902A
analogous
#2A87AC #2A46AC #4F2AAC
triadic
#2A46AC #AC2A46 #46AC2A
tetradic
#2A46AC #AC2A87 #AC902A #2AAC4F
square
#2A46AC #AC2A87 #AC902A #2AAC4F
split-complementary
#2A46AC #AC4F2A #87AC2A
monochromatic
#121E4A #1E327B #2A46AC #4261D1 #738ADD
Accessibility & contrast
On white
8.17
#2A46AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2A46AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46AC
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46AC | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a46ac; /* rgb */ color: rgb(42, 70, 172); /* oklch */ color: oklch(43.8% 0.166 267.3);
Tailwind
colors: {
custom: {
50: '#7779c6',
500: '#2a46ac',
950: '#000000',
},
}SCSS
$custom: #2a46ac; $custom-light: #7779c6; $custom-dark: #000000;
JSON
{
"hex": "#2a46ac",
"rgb": {
"r": 42,
"g": 70,
"b": 172
},
"hsl": {
"h": 227.077,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.43819,
"c": 0.16643,
"h": 267.3
},
"luminance": 0.07851
}Semantic roles & 50–950 ramp
primary
#2A46AC
secondary
#C4B26D
accent
#C144E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82