#1B45A1#1B45A1
#1B45A1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.157 H 263.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1B45A1 |
|---|---|
| RGB | rgb(27, 69, 161) |
| HSL | hsl(221, 71%, 37%) |
| HSV | hsv(221, 83%, 63%) |
| CMYK | cmyk(83.2%, 57.1%, 0%, 36.9%) |
| CIE-LAB | lab(31.95, 21.32, -53.81) |
| CIE-LCH | lch(31.95, 57.88, 291.62°) |
| OKLab | oklab(42.09% -0.0192 -0.1554) |
| OKLCH | oklch(42.09% 0.157 263) |
| XYZ | xyz(9.0108, 7.0614, 34.5994) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.73
Cobalt (survey)
#1E488F
ΔE00 3.07
Sapphire
#0F52BA
ΔE00 5.11
Sapphire (survey)
#2138AB
ΔE00 5.14
Darkish Blue
#014182
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B45A1 #A1771B
analogous
#1B88A1 #1B45A1 #341BA1
triadic
#1B45A1 #A11B45 #45A11B
tetradic
#1B45A1 #A11B88 #A1771B #1BA134
square
#1B45A1 #A11B88 #A1771B #1BA134
split-complementary
#1B45A1 #A1341B #88A11B
monochromatic
#091838 #122F6D #1B45A1 #245BD5 #5481E2
Accessibility & contrast
On white
8.71
#1B45A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#1B45A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B45A1
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B45A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B45A1 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1b45a1; /* rgb */ color: rgb(27, 69, 161); /* oklch */ color: oklch(42.1% 0.157 263.0);
Tailwind
colors: {
custom: {
50: '#7078be',
500: '#1b45a1',
950: '#000000',
},
}SCSS
$custom: #1b45a1; $custom-light: #7078be; $custom-dark: #000000;
JSON
{
"hex": "#1b45a1",
"rgb": {
"r": 27,
"g": 69,
"b": 161
},
"hsl": {
"h": 221.194,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.42092,
"c": 0.15663,
"h": 263
},
"luminance": 0.07062
}Semantic roles & 50–950 ramp
primary
#1B45A1
secondary
#C5A152
accent
#B63AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81