#1B42AA#1B42AA
#1B42AA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.173 H 264.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1B42AA |
|---|---|
| RGB | rgb(27, 66, 170) |
| HSL | hsl(224, 73%, 39%) |
| HSV | hsv(224, 84%, 67%) |
| CMYK | cmyk(84.1%, 61.2%, 0%, 33.3%) |
| CIE-LAB | lab(31.88, 26.92, -59.33) |
| CIE-LCH | lch(31.88, 65.15, 294.40°) |
| OKLab | oklab(42.27% -0.0169 -0.1717) |
| OKLCH | oklch(42.27% 0.173 264.4) |
| XYZ | xyz(9.6533, 7.0305, 38.8707) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.53
Sapphire (survey)
#2138AB
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 4.29
Cobalt (survey)
#1E488F
ΔE00 4.94
Sapphire
#0F52BA
ΔE00 5.64
Blueberry
#464196
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B42AA #AA831B
analogous
#1B89AA #1B42AA #3B1BAA
triadic
#1B42AA #AA1B42 #42AA1B
tetradic
#1B42AA #AA1B89 #AA831B #1BAA3B
square
#1B42AA #AA1B89 #AA831B #1BAA3B
split-complementary
#1B42AA #AA3B1B #89AA1B
monochromatic
#0A1940 #132D75 #1B42AA #2658DC #5B80E5
Accessibility & contrast
On white
8.73
#1B42AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#1B42AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B42AA
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B42AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B42AA | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1b42aa; /* rgb */ color: rgb(27, 66, 170); /* oklch */ color: oklch(42.3% 0.173 264.4);
Tailwind
colors: {
custom: {
50: '#7275c4',
500: '#1b42aa',
950: '#000000',
},
}SCSS
$custom: #1b42aa; $custom-light: #7275c4; $custom-dark: #000000;
JSON
{
"hex": "#1b42aa",
"rgb": {
"r": 27,
"g": 66,
"b": 170
},
"hsl": {
"h": 223.636,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.42272,
"c": 0.17253,
"h": 264.4
},
"luminance": 0.07032
}Semantic roles & 50–950 ramp
primary
#1B42AA
secondary
#C9AA58
accent
#BD39EF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82