#1B42AD#1B42AD
#1B42AD is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.177 H 264.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1B42AD |
|---|---|
| RGB | rgb(27, 66, 173) |
| HSL | hsl(224, 73%, 39%) |
| HSV | hsv(224, 84%, 68%) |
| CMYK | cmyk(84.4%, 61.8%, 0%, 32.2%) |
| CIE-LAB | lab(32.14, 28.09, -60.70) |
| CIE-LCH | lch(32.14, 66.89, 294.83°) |
| OKLab | oklab(42.55% -0.0169 -0.1757) |
| OKLCH | oklch(42.55% 0.177 264.5) |
| XYZ | xyz(9.9404, 7.1453, 40.3823) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.70
Sapphire (survey)
#2138AB
ΔE00 3.33
Blue Blue
#2242C7
ΔE00 3.85
Cobalt (survey)
#1E488F
ΔE00 5.32
Sapphire
#0F52BA
ΔE00 5.60
Blueberry
#464196
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B42AD #AD861B
analogous
#1B8BAD #1B42AD #3D1BAD
triadic
#1B42AD #AD1B42 #42AD1B
tetradic
#1B42AD #AD1B8B #AD861B #1BAD3D
square
#1B42AD #AD1B8B #AD861B #1BAD3D
split-complementary
#1B42AD #AD3D1B #8BAD1B
monochromatic
#0A1A43 #132E78 #1B42AD #2858DD #5D81E6
Accessibility & contrast
On white
8.64
#1B42AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1B42AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B42AD
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B42AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B42AD | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1b42ad; /* rgb */ color: rgb(27, 66, 173); /* oklch */ color: oklch(42.5% 0.177 264.5);
Tailwind
colors: {
custom: {
50: '#7375c6',
500: '#1b42ad',
950: '#000000',
},
}SCSS
$custom: #1b42ad; $custom-light: #7375c6; $custom-dark: #000000;
JSON
{
"hex": "#1b42ad",
"rgb": {
"r": 27,
"g": 66,
"b": 173
},
"hsl": {
"h": 223.973,
"s": 73,
"l": 39.216
},
"oklch": {
"l": 0.42545,
"c": 0.17652,
"h": 264.5
},
"luminance": 0.07147
}Semantic roles & 50–950 ramp
primary
#1B42AD
secondary
#CAAC5A
accent
#BF38F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82