#1B56BB#1B56BB
#1B56BB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.171 H 260.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1B56BB |
|---|---|
| RGB | rgb(27, 86, 187) |
| HSL | hsl(218, 75%, 42%) |
| HSV | hsv(218, 86%, 73%) |
| CMYK | cmyk(85.6%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(38.68, 20.23, -58.31) |
| CIE-LCH | lch(38.68, 61.72, 289.14°) |
| OKLab | oklab(47.82% -0.0278 -0.1683) |
| OKLCH | oklch(47.82% 0.171 260.6) |
| XYZ | xyz(12.7462, 10.4748, 48.3541) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.31
Denim
#1560BD
ΔE00 3.79
Cobalt
#0047AB
ΔE00 5.09
Denim Blue
#3B5B92
ΔE00 5.47
Dusk Blue
#26538D
ΔE00 5.63
Light Navy Blue
#2E5A88
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B56BB #BB801B
analogous
#1BA6BB #1B56BB #301BBB
triadic
#1B56BB #BB1B56 #56BB1B
tetradic
#1B56BB #BB1BA6 #BB801B #1BBB30
square
#1B56BB #BB1BA6 #BB801B #1BBB30
split-complementary
#1B56BB #BB301B #A6BB1B
monochromatic
#0C2550 #133D86 #1B56BB #3273E1 #6797E9
Accessibility & contrast
On white
6.78
#1B56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#1B56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B56BB
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B56BB | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1b56bb; /* rgb */ color: rgb(27, 86, 187); /* oklch */ color: oklch(47.8% 0.171 260.6);
Tailwind
colors: {
custom: {
50: '#7584d0',
500: '#1b56bb',
950: '#000000',
},
}SCSS
$custom: #1b56bb; $custom-light: #7584d0; $custom-dark: #000000;
JSON
{
"hex": "#1b56bb",
"rgb": {
"r": 27,
"g": 86,
"b": 187
},
"hsl": {
"h": 217.875,
"s": 74.766,
"l": 41.961
},
"oklch": {
"l": 0.47823,
"c": 0.17062,
"h": 260.6
},
"luminance": 0.10476
}Semantic roles & 50–950 ramp
primary
#1B56BB
secondary
#CEA763
accent
#AC36F1
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A14
muted
#7C7C82