#2B47B7#2B47B7
#2B47B7 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.180 H 267.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2B47B7 |
|---|---|
| RGB | rgb(43, 71, 183) |
| HSL | hsl(228, 62%, 44%) |
| HSV | hsv(228, 77%, 72%) |
| CMYK | cmyk(76.5%, 61.2%, 0%, 28.2%) |
| CIE-LAB | lab(34.88, 30.08, -62.13) |
| CIE-LCH | lch(34.88, 69.03, 295.84°) |
| OKLab | oklab(45.01% -0.0075 -0.1796) |
| OKLCH | oklch(45.01% 0.18 267.6) |
| XYZ | xyz(11.7938, 8.4377, 45.7976) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.62
Cobalt
#0047AB
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 4.61
Sapphire
#0F52BA
ΔE00 4.80
Blue (survey)
#0343DF
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B47B7 #B79B2B
analogous
#2B8DB7 #2B47B7 #552BB7
triadic
#2B47B7 #B72B47 #47B72B
tetradic
#2B47B7 #B72B8D #B79B2B #2BB755
square
#2B47B7 #B72B8D #B79B2B #2BB755
split-complementary
#2B47B7 #B7552B #8DB72B
monochromatic
#142154 #1F3485 #2B47B7 #4B66D5 #7C90E0
Accessibility & contrast
On white
7.81
#2B47B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2B47B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B47B7
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B47B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B47B7 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2b47b7; /* rgb */ color: rgb(43, 71, 183); /* oklch */ color: oklch(45.0% 0.180 267.6);
Tailwind
colors: {
custom: {
50: '#7a7ace',
500: '#2b47b7',
950: '#000000',
},
}SCSS
$custom: #2b47b7; $custom-light: #7a7ace; $custom-dark: #000000;
JSON
{
"hex": "#2b47b7",
"rgb": {
"r": 43,
"g": 71,
"b": 183
},
"hsl": {
"h": 228,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.45013,
"c": 0.17972,
"h": 267.6
},
"luminance": 0.08439
}Semantic roles & 50–950 ramp
primary
#2B47B7
secondary
#C9B875
accent
#C543E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82