#1B47A8#1B47A8
#1B47A8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.164 H 263.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1B47A8 |
|---|---|
| RGB | rgb(27, 71, 168) |
| HSL | hsl(221, 72%, 38%) |
| HSV | hsv(221, 84%, 66%) |
| CMYK | cmyk(83.9%, 57.7%, 0%, 34.1%) |
| CIE-LAB | lab(33.06, 22.75, -56.20) |
| CIE-LCH | lch(33.06, 60.63, 292.04°) |
| OKLab | oklab(43.11% -0.02 -0.1624) |
| OKLCH | oklch(43.11% 0.164 263) |
| XYZ | xyz(9.7706, 7.5654, 37.9835) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.20
Cobalt (survey)
#1E488F
ΔE00 3.71
Sapphire
#0F52BA
ΔE00 4.18
Blue Blue
#2242C7
ΔE00 5.21
Sapphire (survey)
#2138AB
ΔE00 5.29
Dusk Blue
#26538D
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B47A8 #A87C1B
analogous
#1B8DA8 #1B47A8 #361BA8
triadic
#1B47A8 #A81B47 #47A81B
tetradic
#1B47A8 #A81B8D #A87C1B #1BA836
square
#1B47A8 #A81B8D #A87C1B #1BA836
split-complementary
#1B47A8 #A8361B #8DA81B
monochromatic
#0A1A3F #133173 #1B47A8 #245EDC #5985E4
Accessibility & contrast
On white
8.36
#1B47A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#1B47A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B47A8
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B47A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B47A8 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1b47a8; /* rgb */ color: rgb(27, 71, 168); /* oklch */ color: oklch(43.1% 0.164 263.0);
Tailwind
colors: {
custom: {
50: '#7179c3',
500: '#1b47a8',
950: '#000000',
},
}SCSS
$custom: #1b47a8; $custom-light: #7179c3; $custom-dark: #000000;
JSON
{
"hex": "#1b47a8",
"rgb": {
"r": 27,
"g": 71,
"b": 168
},
"hsl": {
"h": 221.277,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.43108,
"c": 0.16366,
"h": 263
},
"luminance": 0.07567
}Semantic roles & 50–950 ramp
primary
#1B47A8
secondary
#C8A557
accent
#B639EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81