#1B41A7#1B41A7
#1B41A7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.170 H 264.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1B41A7 |
|---|---|
| RGB | rgb(27, 65, 167) |
| HSL | hsl(224, 72%, 38%) |
| HSV | hsv(224, 84%, 65%) |
| CMYK | cmyk(83.8%, 61.1%, 0%, 34.5%) |
| CIE-LAB | lab(31.35, 26.42, -58.39) |
| CIE-LCH | lch(31.35, 64.09, 294.34°) |
| OKLab | oklab(41.8% -0.0164 -0.1689) |
| OKLCH | oklch(41.8% 0.17 264.4) |
| XYZ | xyz(9.3149, 6.8025, 37.3738) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.73
Sapphire (survey)
#2138AB
ΔE00 3.31
Blue Blue
#2242C7
ΔE00 4.66
Cobalt (survey)
#1E488F
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 6.02
Blueberry
#464196
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B41A7 #A7811B
analogous
#1B87A7 #1B41A7 #3B1BA7
triadic
#1B41A7 #A71B41 #41A71B
tetradic
#1B41A7 #A71B87 #A7811B #1BA73B
square
#1B41A7 #A71B87 #A7811B #1BA73B
split-complementary
#1B41A7 #A73B1B #87A71B
monochromatic
#0A183E #122C72 #1B41A7 #2456DC #587EE4
Accessibility & contrast
On white
8.90
#1B41A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#1B41A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B41A7
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B41A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B41A7 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1b41a7; /* rgb */ color: rgb(27, 65, 167); /* oklch */ color: oklch(41.8% 0.170 264.4);
Tailwind
colors: {
custom: {
50: '#7275c2',
500: '#1b41a7',
950: '#000000',
},
}SCSS
$custom: #1b41a7; $custom-light: #7275c2; $custom-dark: #000000;
JSON
{
"hex": "#1b41a7",
"rgb": {
"r": 27,
"g": 65,
"b": 167
},
"hsl": {
"h": 223.714,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.41801,
"c": 0.16975,
"h": 264.4
},
"luminance": 0.06804
}Semantic roles & 50–950 ramp
primary
#1B41A7
secondary
#C8A956
accent
#BD39EF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81