#2A46B1#2A46B1
#2A46B1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.173 H 267.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46B1 |
|---|---|
| RGB | rgb(42, 70, 177) |
| HSL | hsl(228, 62%, 43%) |
| HSV | hsv(228, 76%, 69%) |
| CMYK | cmyk(76.3%, 60.5%, 0%, 30.6%) |
| CIE-LAB | lab(34.08, 28.38, -59.89) |
| CIE-LCH | lch(34.08, 66.27, 295.36°) |
| OKLab | oklab(44.25% -0.0078 -0.173) |
| OKLCH | oklch(44.25% 0.173 267.4) |
| XYZ | xyz(11.0781, 8.0457, 42.5556) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.24
Cobalt
#0047AB
ΔE00 3.27
Sapphire (survey)
#2138AB
ΔE00 4.20
Sapphire
#0F52BA
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 5.69
Blue (survey)
#0343DF
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46B1 #B1952A
analogous
#2A89B1 #2A46B1 #522AB1
triadic
#2A46B1 #B12A46 #46B12A
tetradic
#2A46B1 #B12A89 #B1952A #2AB152
square
#2A46B1 #B12A89 #B1952A #2AB152
split-complementary
#2A46B1 #B1522A #89B12A
monochromatic
#131F4E #1E3280 #2A46B1 #4563D3 #778CDF
Accessibility & contrast
On white
8.05
#2A46B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2A46B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46B1
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46B1 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a46b1; /* rgb */ color: rgb(42, 70, 177); /* oklch */ color: oklch(44.3% 0.173 267.4);
Tailwind
colors: {
custom: {
50: '#7879c9',
500: '#2a46b1',
950: '#000000',
},
}SCSS
$custom: #2a46b1; $custom-light: #7879c9; $custom-dark: #000000;
JSON
{
"hex": "#2a46b1",
"rgb": {
"r": 42,
"g": 70,
"b": 177
},
"hsl": {
"h": 227.556,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.44252,
"c": 0.17318,
"h": 267.4
},
"luminance": 0.08047
}Semantic roles & 50–950 ramp
primary
#2A46B1
secondary
#C6B570
accent
#C343E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82