#2B47AB#2B47AB
#2B47AB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.164 H 267.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B47AB |
|---|---|
| RGB | rgb(43, 71, 171) |
| HSL | hsl(227, 60%, 42%) |
| HSV | hsv(227, 75%, 67%) |
| CMYK | cmyk(74.9%, 58.5%, 0%, 32.9%) |
| CIE-LAB | lab(33.90, 25.58, -56.61) |
| CIE-LCH | lch(33.90, 62.12, 294.32°) |
| OKLab | oklab(43.98% -0.0077 -0.1633) |
| OKLCH | oklch(43.98% 0.164 267.3) |
| XYZ | xyz(10.5976, 7.9592, 39.4979) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Blue Blue
#2242C7
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.59
Sapphire
#0F52BA
ΔE00 4.77
Cobalt (survey)
#1E488F
ΔE00 4.99
Blueberry
#464196
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B47AB #AB8F2B
analogous
#2B87AB #2B47AB #4F2BAB
triadic
#2B47AB #AB2B47 #47AB2B
tetradic
#2B47AB #AB2B87 #AB8F2B #2BAB4F
square
#2B47AB #AB2B87 #AB8F2B #2BAB4F
split-complementary
#2B47AB #AB4F2B #87AB2B
monochromatic
#121E49 #1F337A #2B47AB #4362D0 #748BDC
Accessibility & contrast
On white
8.10
#2B47AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2B47AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B47AB
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B47AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B47AB | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b47ab; /* rgb */ color: rgb(43, 71, 171); /* oklch */ color: oklch(44.0% 0.164 267.3);
Tailwind
colors: {
custom: {
50: '#7779c5',
500: '#2b47ab',
950: '#000000',
},
}SCSS
$custom: #2b47ab; $custom-light: #7779c5; $custom-dark: #000000;
JSON
{
"hex": "#2b47ab",
"rgb": {
"r": 43,
"g": 71,
"b": 171
},
"hsl": {
"h": 226.875,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.43977,
"c": 0.16353,
"h": 267.3
},
"luminance": 0.0796
}Semantic roles & 50–950 ramp
primary
#2B47AB
secondary
#C4B16E
accent
#C045E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82