#1D42B0#1D42B0
#1D42B0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.180 H 265.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1D42B0 |
|---|---|
| RGB | rgb(29, 66, 176) |
| HSL | hsl(225, 72%, 40%) |
| HSV | hsv(225, 84%, 69%) |
| CMYK | cmyk(83.5%, 62.5%, 0%, 31%) |
| CIE-LAB | lab(32.46, 29.41, -61.96) |
| CIE-LCH | lch(32.46, 68.58, 295.39°) |
| OKLab | oklab(42.89% -0.0155 -0.1793) |
| OKLCH | oklch(42.89% 0.18 265.1) |
| XYZ | xyz(10.2886, 7.2910, 41.9309) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.03
Sapphire (survey)
#2138AB
ΔE00 3.21
Blue Blue
#2242C7
ΔE00 3.35
Sapphire
#0F52BA
ΔE00 5.64
Cobalt (survey)
#1E488F
ΔE00 5.77
Blue (survey)
#0343DF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D42B0 #B08B1D
analogous
#1D8BB0 #1D42B0 #421DB0
triadic
#1D42B0 #B01D42 #42B01D
tetradic
#1D42B0 #B01D8B #B08B1D #1DB042
square
#1D42B0 #B01D8B #B08B1D #1DB042
split-complementary
#1D42B0 #B0421D #8BB01D
monochromatic
#0C1B47 #142E7B #1D42B0 #2E5ADD #6283E5
Accessibility & contrast
On white
8.54
#1D42B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1D42B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D42B0
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D42B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D42B0 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1d42b0; /* rgb */ color: rgb(29, 66, 176); /* oklch */ color: oklch(42.9% 0.180 265.1);
Tailwind
colors: {
custom: {
50: '#7476c9',
500: '#1d42b0',
950: '#000000',
},
}SCSS
$custom: #1d42b0; $custom-light: #7476c9; $custom-dark: #000000;
JSON
{
"hex": "#1d42b0",
"rgb": {
"r": 29,
"g": 66,
"b": 176
},
"hsl": {
"h": 224.898,
"s": 71.707,
"l": 40.196
},
"oklch": {
"l": 0.42885,
"c": 0.18002,
"h": 265.1
},
"luminance": 0.07292
}Semantic roles & 50–950 ramp
primary
#1D42B0
secondary
#CAAF5F
accent
#C139EE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82