#1B41A8#1B41A8
#1B41A8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.171 H 264.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1B41A8 |
|---|---|
| RGB | rgb(27, 65, 168) |
| HSL | hsl(224, 72%, 38%) |
| HSV | hsv(224, 84%, 66%) |
| CMYK | cmyk(83.9%, 61.3%, 0%, 34.1%) |
| CIE-LAB | lab(31.44, 26.81, -58.85) |
| CIE-LCH | lch(31.44, 64.67, 294.49°) |
| OKLab | oklab(41.89% -0.0164 -0.1703) |
| OKLCH | oklch(41.89% 0.171 264.5) |
| XYZ | xyz(9.4077, 6.8396, 37.8625) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.76
Sapphire (survey)
#2138AB
ΔE00 3.24
Blue Blue
#2242C7
ΔE00 4.52
Cobalt (survey)
#1E488F
ΔE00 4.93
Sapphire
#0F52BA
ΔE00 6.00
Blueberry
#464196
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B41A8 #A8821B
analogous
#1B87A8 #1B41A8 #3B1BA8
triadic
#1B41A8 #A81B41 #41A81B
tetradic
#1B41A8 #A81B87 #A8821B #1BA83B
square
#1B41A8 #A81B87 #A8821B #1BA83B
split-complementary
#1B41A8 #A83B1B #87A81B
monochromatic
#0A183F #132D73 #1B41A8 #2456DC #597FE4
Accessibility & contrast
On white
8.87
#1B41A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1B41A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B41A8
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B41A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B41A8 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1b41a8; /* rgb */ color: rgb(27, 65, 168); /* oklch */ color: oklch(41.9% 0.171 264.5);
Tailwind
colors: {
custom: {
50: '#7275c3',
500: '#1b41a8',
950: '#000000',
},
}SCSS
$custom: #1b41a8; $custom-light: #7275c3; $custom-dark: #000000;
JSON
{
"hex": "#1b41a8",
"rgb": {
"r": 27,
"g": 65,
"b": 168
},
"hsl": {
"h": 223.83,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.41892,
"c": 0.17108,
"h": 264.5
},
"luminance": 0.06841
}Semantic roles & 50–950 ramp
primary
#1B41A8
secondary
#C8A957
accent
#BE39EF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82