#2B47B2#2B47B2
#2B47B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.173 H 267.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B47B2 |
|---|---|
| RGB | rgb(43, 71, 178) |
| HSL | hsl(228, 61%, 43%) |
| HSV | hsv(228, 76%, 70%) |
| CMYK | cmyk(75.8%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(34.46, 28.21, -59.85) |
| CIE-LCH | lch(34.46, 66.16, 295.24°) |
| OKLab | oklab(44.58% -0.0076 -0.1729) |
| OKLCH | oklch(44.58% 0.173 267.5) |
| XYZ | xyz(11.2826, 8.2332, 43.1054) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.25
Cobalt
#0047AB
ΔE00 3.30
Sapphire (survey)
#2138AB
ΔE00 4.51
Sapphire
#0F52BA
ΔE00 4.72
Blue (survey)
#0343DF
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B47B2 #B2962B
analogous
#2B8AB2 #2B47B2 #532BB2
triadic
#2B47B2 #B22B47 #47B22B
tetradic
#2B47B2 #B22B8A #B2962B #2BB253
square
#2B47B2 #B22B8A #B2962B #2BB253
split-complementary
#2B47B2 #B2532B #8AB22B
monochromatic
#13204F #1F3381 #2B47B2 #4864D3 #798EDF
Accessibility & contrast
On white
7.93
#2B47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2B47B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B47B2
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B47B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B47B2 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2b47b2; /* rgb */ color: rgb(43, 71, 178); /* oklch */ color: oklch(44.6% 0.173 267.5);
Tailwind
colors: {
custom: {
50: '#7979ca',
500: '#2b47b2',
950: '#000000',
},
}SCSS
$custom: #2b47b2; $custom-light: #7979ca; $custom-dark: #000000;
JSON
{
"hex": "#2b47b2",
"rgb": {
"r": 43,
"g": 71,
"b": 178
},
"hsl": {
"h": 227.556,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.44577,
"c": 0.17303,
"h": 267.5
},
"luminance": 0.08234
}Semantic roles & 50–950 ramp
primary
#2B47B2
secondary
#C7B572
accent
#C344E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82