#1B41A1#1B41A1
#1B41A1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.162 H 264.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1B41A1 |
|---|---|
| RGB | rgb(27, 65, 161) |
| HSL | hsl(223, 71%, 37%) |
| HSV | hsv(223, 83%, 63%) |
| CMYK | cmyk(83.2%, 59.6%, 0%, 36.9%) |
| CIE-LAB | lab(30.84, 24.05, -55.61) |
| CIE-LCH | lch(30.84, 60.58, 293.39°) |
| OKLab | oklab(41.26% -0.0167 -0.1608) |
| OKLCH | oklch(41.26% 0.162 264.1) |
| XYZ | xyz(8.7730, 6.5858, 34.5201) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Sapphire (survey)
#2138AB
ΔE00 3.84
Cobalt (survey)
#1E488F
ΔE00 4.09
Blue Blue
#2242C7
ΔE00 5.55
Darkish Blue
#014182
ΔE00 5.67
Blueberry
#464196
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B41A1 #A17B1B
analogous
#1B84A1 #1B41A1 #381BA1
triadic
#1B41A1 #A11B41 #41A11B
tetradic
#1B41A1 #A11B84 #A17B1B #1BA138
square
#1B41A1 #A11B84 #A17B1B #1BA138
split-complementary
#1B41A1 #A1381B #84A11B
monochromatic
#091738 #122C6D #1B41A1 #2456D5 #547CE2
Accessibility & contrast
On white
9.06
#1B41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1B41A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B41A1
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B41A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B41A1 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1b41a1; /* rgb */ color: rgb(27, 65, 161); /* oklch */ color: oklch(41.3% 0.162 264.1);
Tailwind
colors: {
custom: {
50: '#7075be',
500: '#1b41a1',
950: '#000000',
},
}SCSS
$custom: #1b41a1; $custom-light: #7075be; $custom-dark: #000000;
JSON
{
"hex": "#1b41a1",
"rgb": {
"r": 27,
"g": 65,
"b": 161
},
"hsl": {
"h": 222.985,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.41263,
"c": 0.16165,
"h": 264.1
},
"luminance": 0.06587
}Semantic roles & 50–950 ramp
primary
#1B41A1
secondary
#C5A552
accent
#BB3AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81