#2B47A1#2B47A1
#2B47A1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.150 H 266.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B47A1 |
|---|---|
| RGB | rgb(43, 71, 161) |
| HSL | hsl(226, 58%, 40%) |
| HSV | hsv(226, 73%, 63%) |
| CMYK | cmyk(73.3%, 55.9%, 0%, 36.9%) |
| CIE-LAB | lab(33.12, 21.78, -51.88) |
| CIE-LCH | lch(33.12, 56.27, 292.77°) |
| OKLab | oklab(43.15% -0.0082 -0.1494) |
| OKLCH | oklch(43.15% 0.15 266.9) |
| XYZ | xyz(9.6803, 7.5923, 34.6666) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.77
Cobalt (survey)
#1E488F
ΔE00 3.71
Sapphire (survey)
#2138AB
ΔE00 5.12
Sapphire
#0F52BA
ΔE00 5.17
Blue Blue
#2242C7
ΔE00 5.62
Blueberry
#464196
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B47A1 #A1852B
analogous
#2B82A1 #2B47A1 #4A2BA1
triadic
#2B47A1 #A12B47 #47A12B
tetradic
#2B47A1 #A12B82 #A1852B #2BA14A
square
#2B47A1 #A12B82 #A1852B #2BA14A
split-complementary
#2B47A1 #A14A2B #82A12B
monochromatic
#111C40 #1E3271 #2B47A1 #3E5FCB #6E87D8
Accessibility & contrast
On white
8.34
#2B47A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2B47A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B47A1
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B47A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B47A1 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b47a1; /* rgb */ color: rgb(43, 71, 161); /* oklch */ color: oklch(43.1% 0.150 266.9);
Tailwind
colors: {
custom: {
50: '#7579bd',
500: '#2b47a1',
950: '#000000',
},
}SCSS
$custom: #2b47a1; $custom-light: #7579bd; $custom-dark: #000000;
JSON
{
"hex": "#2b47a1",
"rgb": {
"r": 43,
"g": 71,
"b": 161
},
"hsl": {
"h": 225.763,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.43148,
"c": 0.14968,
"h": 266.9
},
"luminance": 0.07593
}Semantic roles & 50–950 ramp
primary
#2B47A1
secondary
#BFAB69
accent
#BC47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81