#2A47B7#2A47B7
#2A47B7 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.180 H 267.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A47B7 |
|---|---|
| RGB | rgb(42, 71, 183) |
| HSL | hsl(228, 63%, 44%) |
| HSV | hsv(228, 77%, 72%) |
| CMYK | cmyk(77%, 61.2%, 0%, 28.2%) |
| CIE-LAB | lab(34.84, 29.98, -62.20) |
| CIE-LCH | lch(34.84, 69.05, 295.73°) |
| OKLab | oklab(44.97% -0.0084 -0.1798) |
| OKLCH | oklch(44.97% 0.18 267.3) |
| XYZ | xyz(11.7523, 8.4163, 45.7957) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.64
Cobalt
#0047AB
ΔE00 3.66
Sapphire (survey)
#2138AB
ΔE00 4.62
Sapphire
#0F52BA
ΔE00 4.73
Blue (survey)
#0343DF
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A47B7 #B79A2A
analogous
#2A8EB7 #2A47B7 #542AB7
triadic
#2A47B7 #B72A47 #47B72A
tetradic
#2A47B7 #B72A8E #B79A2A #2AB754
square
#2A47B7 #B72A8E #B79A2A #2AB754
split-complementary
#2A47B7 #B7542A #8EB72A
monochromatic
#132053 #1F3485 #2A47B7 #4966D5 #7B90E1
Accessibility & contrast
On white
7.83
#2A47B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2A47B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A47B7
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A47B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A47B7 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a47b7; /* rgb */ color: rgb(42, 71, 183); /* oklch */ color: oklch(45.0% 0.180 267.3);
Tailwind
colors: {
custom: {
50: '#7a7ace',
500: '#2a47b7',
950: '#000000',
},
}SCSS
$custom: #2a47b7; $custom-light: #7a7ace; $custom-dark: #000000;
JSON
{
"hex": "#2a47b7",
"rgb": {
"r": 42,
"g": 71,
"b": 183
},
"hsl": {
"h": 227.66,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.4497,
"c": 0.17999,
"h": 267.3
},
"luminance": 0.08418
}Semantic roles & 50–950 ramp
primary
#2A47B7
secondary
#C9B774
accent
#C442E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82