#1B41A6#1B41A6
#1B41A6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.168 H 264.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1B41A6 |
|---|---|
| RGB | rgb(27, 65, 166) |
| HSL | hsl(224, 72%, 38%) |
| HSV | hsv(224, 84%, 65%) |
| CMYK | cmyk(83.7%, 60.8%, 0%, 34.9%) |
| CIE-LAB | lab(31.27, 26.02, -57.93) |
| CIE-LCH | lch(31.27, 63.51, 294.19°) |
| OKLab | oklab(41.71% -0.0165 -0.1676) |
| OKLCH | oklch(41.71% 0.168 264.4) |
| XYZ | xyz(9.2228, 6.7657, 36.8888) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Sapphire (survey)
#2138AB
ΔE00 3.39
Cobalt (survey)
#1E488F
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 6.05
Blueberry
#464196
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B41A6 #A6801B
analogous
#1B86A6 #1B41A6 #3A1BA6
triadic
#1B41A6 #A61B41 #41A61B
tetradic
#1B41A6 #A61B86 #A6801B #1BA63A
square
#1B41A6 #A61B86 #A6801B #1BA63A
split-complementary
#1B41A6 #A63A1B #86A61B
monochromatic
#0A183D #122C71 #1B41A6 #2456DB #587EE4
Accessibility & contrast
On white
8.92
#1B41A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#1B41A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B41A6
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B41A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B41A6 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1b41a6; /* rgb */ color: rgb(27, 65, 166); /* oklch */ color: oklch(41.7% 0.168 264.4);
Tailwind
colors: {
custom: {
50: '#7175c1',
500: '#1b41a6',
950: '#000000',
},
}SCSS
$custom: #1b41a6; $custom-light: #7175c1; $custom-dark: #000000;
JSON
{
"hex": "#1b41a6",
"rgb": {
"r": 27,
"g": 65,
"b": 166
},
"hsl": {
"h": 223.597,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.41711,
"c": 0.16841,
"h": 264.4
},
"luminance": 0.06767
}Semantic roles & 50–950 ramp
primary
#1B41A6
secondary
#C7A856
accent
#BD39EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81