#2B47B5#2B47B5
#2B47B5 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.177 H 267.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2B47B5 |
|---|---|
| RGB | rgb(43, 71, 181) |
| HSL | hsl(228, 62%, 44%) |
| HSV | hsv(228, 76%, 71%) |
| CMYK | cmyk(76.2%, 60.8%, 0%, 29%) |
| CIE-LAB | lab(34.71, 29.34, -61.22) |
| CIE-LCH | lch(34.71, 67.89, 295.60°) |
| OKLab | oklab(44.84% -0.0075 -0.1769) |
| OKLCH | oklch(44.84% 0.177 267.6) |
| XYZ | xyz(11.5871, 8.3550, 44.7091) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.56
Sapphire (survey)
#2138AB
ΔE00 4.56
Sapphire
#0F52BA
ΔE00 4.76
Blue (survey)
#0343DF
ΔE00 5.29
Ocean Blue
#4F42B5
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B47B5 #B5992B
analogous
#2B8CB5 #2B47B5 #542BB5
triadic
#2B47B5 #B52B47 #47B52B
tetradic
#2B47B5 #B52B8C #B5992B #2BB554
square
#2B47B5 #B52B8C #B5992B #2BB554
split-complementary
#2B47B5 #B5542B #8CB52B
monochromatic
#142052 #1F3484 #2B47B5 #4965D4 #7B8FE0
Accessibility & contrast
On white
7.86
#2B47B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2B47B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B47B5
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B47B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B47B5 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2b47b5; /* rgb */ color: rgb(43, 71, 181); /* oklch */ color: oklch(44.8% 0.177 267.6);
Tailwind
colors: {
custom: {
50: '#7979cc',
500: '#2b47b5',
950: '#000000',
},
}SCSS
$custom: #2b47b5; $custom-light: #7979cc; $custom-dark: #000000;
JSON
{
"hex": "#2b47b5",
"rgb": {
"r": 43,
"g": 71,
"b": 181
},
"hsl": {
"h": 227.826,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.44838,
"c": 0.17705,
"h": 267.6
},
"luminance": 0.08356
}Semantic roles & 50–950 ramp
primary
#2B47B5
secondary
#C8B774
accent
#C443E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82