#1642B4#1642B4
#1642B4 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.187 H 263.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1642B4 |
|---|---|
| RGB | rgb(22, 66, 180) |
| HSL | hsl(223, 78%, 40%) |
| HSV | hsv(223, 88%, 71%) |
| CMYK | cmyk(87.8%, 63.3%, 0%, 29.4%) |
| CIE-LAB | lab(32.61, 30.48, -64.09) |
| CIE-LCH | lch(32.61, 70.96, 295.43°) |
| OKLab | oklab(43.05% -0.0198 -0.1857) |
| OKLCH | oklch(43.05% 0.187 263.9) |
| XYZ | xyz(10.5144, 7.3609, 44.0378) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.02
Cobalt
#0047AB
ΔE00 3.03
Sapphire (survey)
#2138AB
ΔE00 3.40
Sapphire
#0F52BA
ΔE00 5.48
Blue (survey)
#0343DF
ΔE00 5.55
Cobalt (survey)
#1E488F
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1642B4 #B48816
analogous
#1691B4 #1642B4 #3916B4
triadic
#1642B4 #B41642 #42B416
tetradic
#1642B4 #B41691 #B48816 #16B439
square
#1642B4 #B41691 #B48816 #16B439
split-complementary
#1642B4 #B43916 #91B416
monochromatic
#091A47 #0F2E7D #1642B4 #2359E4 #5A82EB
Accessibility & contrast
On white
8.49
#1642B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#1642B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1642B4
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1642B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1642B4 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1642b4; /* rgb */ color: rgb(22, 66, 180); /* oklch */ color: oklch(43.1% 0.187 263.9);
Tailwind
colors: {
custom: {
50: '#7476cb',
500: '#1642b4',
950: '#000000',
},
}SCSS
$custom: #1642b4; $custom-light: #7476cb; $custom-dark: #000000;
JSON
{
"hex": "#1642b4",
"rgb": {
"r": 22,
"g": 66,
"b": 180
},
"hsl": {
"h": 223.291,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.43052,
"c": 0.18673,
"h": 263.9
},
"luminance": 0.07362
}Semantic roles & 50–950 ramp
primary
#1642B4
secondary
#CEAD58
accent
#BF33F5
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82