#2A46B6#2A46B6
#2A46B6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.180 H 267.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46B6 |
|---|---|
| RGB | rgb(42, 70, 182) |
| HSL | hsl(228, 63%, 44%) |
| HSV | hsv(228, 77%, 71%) |
| CMYK | cmyk(76.9%, 61.5%, 0%, 28.6%) |
| CIE-LAB | lab(34.50, 30.26, -62.17) |
| CIE-LCH | lch(34.50, 69.14, 295.95°) |
| OKLab | oklab(44.69% -0.0078 -0.1797) |
| OKLCH | oklch(44.69% 0.18 267.5) |
| XYZ | xyz(11.5856, 8.2487, 45.2285) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.58
Cobalt
#0047AB
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 5.02
Blue (survey)
#0343DF
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46B6 #B69A2A
analogous
#2A8CB6 #2A46B6 #542AB6
triadic
#2A46B6 #B62A46 #46B62A
tetradic
#2A46B6 #B62A8C #B69A2A #2AB654
square
#2A46B6 #B62A8C #B69A2A #2AB654
split-complementary
#2A46B6 #B6542A #8CB62A
monochromatic
#132053 #1F3384 #2A46B6 #4864D5 #7A8FE0
Accessibility & contrast
On white
7.92
#2A46B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2A46B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46B6
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46B6 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a46b6; /* rgb */ color: rgb(42, 70, 182); /* oklch */ color: oklch(44.7% 0.180 267.5);
Tailwind
colors: {
custom: {
50: '#7979cd',
500: '#2a46b6',
950: '#000000',
},
}SCSS
$custom: #2a46b6; $custom-light: #7979cd; $custom-dark: #000000;
JSON
{
"hex": "#2a46b6",
"rgb": {
"r": 42,
"g": 70,
"b": 182
},
"hsl": {
"h": 228,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.44692,
"c": 0.17986,
"h": 267.5
},
"luminance": 0.0825
}Semantic roles & 50–950 ramp
primary
#2A46B6
secondary
#C8B773
accent
#C542E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82