#2B47A4#2B47A4
#2B47A4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.154 H 267.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2B47A4 |
|---|---|
| RGB | rgb(43, 71, 164) |
| HSL | hsl(226, 58%, 41%) |
| HSV | hsv(226, 74%, 64%) |
| CMYK | cmyk(73.8%, 56.7%, 0%, 35.7%) |
| CIE-LAB | lab(33.35, 22.92, -53.31) |
| CIE-LCH | lch(33.35, 58.03, 293.27°) |
| OKLab | oklab(43.39% -0.008 -0.1537) |
| OKLCH | oklch(43.39% 0.154 267) |
| XYZ | xyz(9.9480, 7.6994, 36.0766) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Cobalt (survey)
#1E488F
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 4.92
Sapphire
#0F52BA
ΔE00 5.01
Blue Blue
#2242C7
ΔE00 5.18
Blueberry
#464196
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B47A4 #A4882B
analogous
#2B83A4 #2B47A4 #4C2BA4
triadic
#2B47A4 #A42B47 #47A42B
tetradic
#2B47A4 #A42B83 #A4882B #2BA44C
square
#2B47A4 #A42B83 #A4882B #2BA44C
split-complementary
#2B47A4 #A44C2B #83A42B
monochromatic
#121D43 #1E3274 #2B47A4 #3F60CD #7088D9
Accessibility & contrast
On white
8.27
#2B47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2B47A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B47A4
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B47A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B47A4 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b47a4; /* rgb */ color: rgb(43, 71, 164); /* oklch */ color: oklch(43.4% 0.154 267.0);
Tailwind
colors: {
custom: {
50: '#7579c0',
500: '#2b47a4',
950: '#000000',
},
}SCSS
$custom: #2b47a4; $custom-light: #7579c0; $custom-dark: #000000;
JSON
{
"hex": "#2b47a4",
"rgb": {
"r": 43,
"g": 71,
"b": 164
},
"hsl": {
"h": 226.116,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.43393,
"c": 0.15387,
"h": 267
},
"luminance": 0.077
}Semantic roles & 50–950 ramp
primary
#2B47A4
secondary
#C1AD6A
accent
#BE46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81