#1B45A0#1B45A0
#1B45A0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.155 H 262.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1B45A0 |
|---|---|
| RGB | rgb(27, 69, 160) |
| HSL | hsl(221, 71%, 37%) |
| HSV | hsv(221, 83%, 63%) |
| CMYK | cmyk(83.1%, 56.9%, 0%, 37.3%) |
| CIE-LAB | lab(31.87, 20.92, -53.34) |
| CIE-LCH | lch(31.87, 57.30, 291.42°) |
| OKLab | oklab(42.01% -0.0193 -0.154) |
| OKLCH | oklch(42.01% 0.155 262.9) |
| XYZ | xyz(8.9230, 7.0262, 34.1368) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.79
Cobalt (survey)
#1E488F
ΔE00 2.94
Darkish Blue
#014182
ΔE00 5.07
Sapphire
#0F52BA
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.23
Dusk Blue
#26538D
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B45A0 #A0761B
analogous
#1B88A0 #1B45A0 #341BA0
triadic
#1B45A0 #A01B45 #45A01B
tetradic
#1B45A0 #A01B88 #A0761B #1BA034
square
#1B45A0 #A01B88 #A0761B #1BA034
split-complementary
#1B45A0 #A0341B #88A01B
monochromatic
#091837 #122E6C #1B45A0 #245CD4 #5380E2
Accessibility & contrast
On white
8.73
#1B45A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#1B45A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B45A0
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B45A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B45A0 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1b45a0; /* rgb */ color: rgb(27, 69, 160); /* oklch */ color: oklch(42.0% 0.155 262.9);
Tailwind
colors: {
custom: {
50: '#6f78bd',
500: '#1b45a0',
950: '#000000',
},
}SCSS
$custom: #1b45a0; $custom-light: #6f78bd; $custom-dark: #000000;
JSON
{
"hex": "#1b45a0",
"rgb": {
"r": 27,
"g": 69,
"b": 160
},
"hsl": {
"h": 221.053,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.42007,
"c": 0.15525,
"h": 262.9
},
"luminance": 0.07027
}Semantic roles & 50–950 ramp
primary
#1B45A0
secondary
#C5A152
accent
#B53AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81