#1B45A6#1B45A6
#1B45A6 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.163 H 263.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1B45A6 |
|---|---|
| RGB | rgb(27, 69, 166) |
| HSL | hsl(222, 72%, 38%) |
| HSV | hsv(222, 84%, 65%) |
| CMYK | cmyk(83.7%, 58.4%, 0%, 34.9%) |
| CIE-LAB | lab(32.35, 23.31, -56.16) |
| CIE-LCH | lch(32.35, 60.81, 292.54°) |
| OKLab | oklab(42.52% -0.0189 -0.1623) |
| OKLCH | oklch(42.52% 0.163 263.4) |
| XYZ | xyz(9.4606, 7.2413, 36.9681) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.57
Cobalt (survey)
#1E488F
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 4.73
Sapphire
#0F52BA
ΔE00 4.85
Blue Blue
#2242C7
ΔE00 5.19
Darkish Blue
#014182
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B45A6 #A67C1B
analogous
#1B8AA6 #1B45A6 #371BA6
triadic
#1B45A6 #A61B45 #45A61B
tetradic
#1B45A6 #A61B8A #A67C1B #1BA637
square
#1B45A6 #A61B8A #A67C1B #1BA637
split-complementary
#1B45A6 #A6371B #8AA61B
monochromatic
#0A193D #122F71 #1B45A6 #245BDB #5882E4
Accessibility & contrast
On white
8.58
#1B45A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#1B45A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B45A6
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B45A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B45A6 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1b45a6; /* rgb */ color: rgb(27, 69, 166); /* oklch */ color: oklch(42.5% 0.163 263.4);
Tailwind
colors: {
custom: {
50: '#7178c1',
500: '#1b45a6',
950: '#000000',
},
}SCSS
$custom: #1b45a6; $custom-light: #7178c1; $custom-dark: #000000;
JSON
{
"hex": "#1b45a6",
"rgb": {
"r": 27,
"g": 69,
"b": 166
},
"hsl": {
"h": 221.871,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.42522,
"c": 0.16344,
"h": 263.4
},
"luminance": 0.07242
}Semantic roles & 50–950 ramp
primary
#1B45A6
secondary
#C7A556
accent
#B839EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81