#2A46B5#2A46B5
#2A46B5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.179 H 267.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46B5 |
|---|---|
| RGB | rgb(42, 70, 181) |
| HSL | hsl(228, 62%, 44%) |
| HSV | hsv(228, 77%, 71%) |
| CMYK | cmyk(76.8%, 61.3%, 0%, 29%) |
| CIE-LAB | lab(34.41, 29.88, -61.71) |
| CIE-LCH | lch(34.41, 68.57, 295.84°) |
| OKLab | oklab(44.6% -0.0078 -0.1784) |
| OKLCH | oklch(44.6% 0.179 267.5) |
| XYZ | xyz(11.4826, 8.2075, 44.6861) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.71
Cobalt
#0047AB
ΔE00 3.61
Sapphire (survey)
#2138AB
ΔE00 4.26
Sapphire
#0F52BA
ΔE00 5.00
Blue (survey)
#0343DF
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46B5 #B5992A
analogous
#2A8BB5 #2A46B5 #532AB5
triadic
#2A46B5 #B52A46 #46B52A
tetradic
#2A46B5 #B52A8B #B5992A #2AB553
square
#2A46B5 #B52A8B #B5992A #2AB553
split-complementary
#2A46B5 #B5532A #8BB52A
monochromatic
#132052 #1E3383 #2A46B5 #4864D4 #798EE0
Accessibility & contrast
On white
7.95
#2A46B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A46B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46B5
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46B5 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a46b5; /* rgb */ color: rgb(42, 70, 181); /* oklch */ color: oklch(44.6% 0.179 267.5);
Tailwind
colors: {
custom: {
50: '#7979cc',
500: '#2a46b5',
950: '#000000',
},
}SCSS
$custom: #2a46b5; $custom-light: #7979cc; $custom-dark: #000000;
JSON
{
"hex": "#2a46b5",
"rgb": {
"r": 42,
"g": 70,
"b": 181
},
"hsl": {
"h": 227.914,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.44603,
"c": 0.17853,
"h": 267.5
},
"luminance": 0.08209
}Semantic roles & 50–950 ramp
primary
#2A46B5
secondary
#C8B773
accent
#C542E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82