#2A46B0#2A46B0
#2A46B0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.172 H 267.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46B0 |
|---|---|
| RGB | rgb(42, 70, 176) |
| HSL | hsl(227, 61%, 43%) |
| HSV | hsv(227, 76%, 69%) |
| CMYK | cmyk(76.1%, 60.2%, 0%, 31%) |
| CIE-LAB | lab(34.00, 28.01, -59.43) |
| CIE-LCH | lch(34.00, 65.70, 295.23°) |
| OKLab | oklab(44.16% -0.0078 -0.1717) |
| OKLCH | oklch(44.16% 0.172 267.4) |
| XYZ | xyz(10.9787, 8.0059, 42.0326) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.20
Blue Blue
#2242C7
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 4.20
Sapphire
#0F52BA
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 5.73
Ocean Blue
#4F42B5
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46B0 #B0942A
analogous
#2A89B0 #2A46B0 #512AB0
triadic
#2A46B0 #B02A46 #46B02A
tetradic
#2A46B0 #B02A89 #B0942A #2AB051
square
#2A46B0 #B02A89 #B0942A #2AB051
split-complementary
#2A46B0 #B0512A #89B02A
monochromatic
#121F4D #1E327F #2A46B0 #4562D3 #768CDE
Accessibility & contrast
On white
8.07
#2A46B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2A46B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46B0
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46B0 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a46b0; /* rgb */ color: rgb(42, 70, 176); /* oklch */ color: oklch(44.2% 0.172 267.4);
Tailwind
colors: {
custom: {
50: '#7879c8',
500: '#2a46b0',
950: '#000000',
},
}SCSS
$custom: #2a46b0; $custom-light: #7879c8; $custom-dark: #000000;
JSON
{
"hex": "#2a46b0",
"rgb": {
"r": 42,
"g": 70,
"b": 176
},
"hsl": {
"h": 227.463,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.44164,
"c": 0.17184,
"h": 267.4
},
"luminance": 0.08007
}Semantic roles & 50–950 ramp
primary
#2A46B0
secondary
#C6B470
accent
#C343E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82