#2A46B7#2A46B7
#2A46B7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.181 H 267.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46B7 |
|---|---|
| RGB | rgb(42, 70, 183) |
| HSL | hsl(228, 63%, 44%) |
| HSV | hsv(228, 77%, 72%) |
| CMYK | cmyk(77%, 61.7%, 0%, 28.2%) |
| CIE-LAB | lab(34.58, 30.63, -62.62) |
| CIE-LCH | lch(34.58, 69.71, 296.07°) |
| OKLab | oklab(44.78% -0.0078 -0.181) |
| OKLCH | oklch(44.78% 0.181 267.5) |
| XYZ | xyz(11.6893, 8.2901, 45.7747) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.45
Cobalt
#0047AB
ΔE00 3.80
Sapphire (survey)
#2138AB
ΔE00 4.33
Blue (survey)
#0343DF
ΔE00 4.96
Sapphire
#0F52BA
ΔE00 5.04
Ocean Blue
#4F42B5
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46B7 #B79B2A
analogous
#2A8DB7 #2A46B7 #552AB7
triadic
#2A46B7 #B72A46 #46B72A
tetradic
#2A46B7 #B72A8D #B79B2A #2AB755
square
#2A46B7 #B72A8D #B79B2A #2AB755
split-complementary
#2A46B7 #B7552A #8DB72A
monochromatic
#132053 #1F3385 #2A46B7 #4965D5 #7B8FE1
Accessibility & contrast
On white
7.90
#2A46B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2A46B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46B7
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46B7 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a46b7; /* rgb */ color: rgb(42, 70, 183); /* oklch */ color: oklch(44.8% 0.181 267.5);
Tailwind
colors: {
custom: {
50: '#7a79ce',
500: '#2a46b7',
950: '#000000',
},
}SCSS
$custom: #2a46b7; $custom-light: #7a79ce; $custom-dark: #000000;
JSON
{
"hex": "#2a46b7",
"rgb": {
"r": 42,
"g": 70,
"b": 183
},
"hsl": {
"h": 228.085,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.4478,
"c": 0.18119,
"h": 267.5
},
"luminance": 0.08291
}Semantic roles & 50–950 ramp
primary
#2A46B7
secondary
#C9B874
accent
#C542E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82