#2B47A2#2B47A2
#2B47A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.151 H 266.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2B47A2 |
|---|---|
| RGB | rgb(43, 71, 162) |
| HSL | hsl(226, 58%, 40%) |
| HSV | hsv(226, 73%, 64%) |
| CMYK | cmyk(73.5%, 56.2%, 0%, 36.5%) |
| CIE-LAB | lab(33.20, 22.16, -52.36) |
| CIE-LCH | lch(33.20, 56.85, 292.94°) |
| OKLab | oklab(43.23% -0.0081 -0.1509) |
| OKLCH | oklch(43.23% 0.151 266.9) |
| XYZ | xyz(9.7688, 7.6277, 35.1329) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.74
Cobalt (survey)
#1E488F
ΔE00 3.83
Sapphire (survey)
#2138AB
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.47
Blueberry
#464196
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B47A2 #A2862B
analogous
#2B83A2 #2B47A2 #4A2BA2
triadic
#2B47A2 #A22B47 #47A22B
tetradic
#2B47A2 #A22B83 #A2862B #2BA24A
square
#2B47A2 #A22B83 #A2862B #2BA24A
split-complementary
#2B47A2 #A24A2B #83A22B
monochromatic
#111D41 #1E3272 #2B47A2 #3E60CC #6F88D9
Accessibility & contrast
On white
8.31
#2B47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2B47A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B47A2
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B47A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B47A2 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b47a2; /* rgb */ color: rgb(43, 71, 162); /* oklch */ color: oklch(43.2% 0.151 266.9);
Tailwind
colors: {
custom: {
50: '#7579be',
500: '#2b47a2',
950: '#000000',
},
}SCSS
$custom: #2b47a2; $custom-light: #7579be; $custom-dark: #000000;
JSON
{
"hex": "#2b47a2",
"rgb": {
"r": 43,
"g": 71,
"b": 162
},
"hsl": {
"h": 225.882,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.4323,
"c": 0.15108,
"h": 266.9
},
"luminance": 0.07629
}Semantic roles & 50–950 ramp
primary
#2B47A2
secondary
#C0AB69
accent
#BD47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81