#1642A1#1642A1
#1642A1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.162 H 262.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1642A1 |
|---|---|
| RGB | rgb(22, 66, 161) |
| HSL | hsl(221, 76%, 36%) |
| HSV | hsv(221, 86%, 63%) |
| CMYK | cmyk(86.3%, 59%, 0%, 36.9%) |
| CIE-LAB | lab(30.97, 22.96, -55.41) |
| CIE-LCH | lch(30.97, 59.98, 292.51°) |
| OKLab | oklab(41.32% -0.0204 -0.1602) |
| OKLCH | oklch(41.32% 0.162 262.8) |
| XYZ | xyz(8.7098, 6.6391, 34.5337) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.22
Cobalt (survey)
#1E488F
ΔE00 3.64
Sapphire (survey)
#2138AB
ΔE00 4.38
Darkish Blue
#014182
ΔE00 5.26
Blue Blue
#2242C7
ΔE00 5.78
Sapphire
#0F52BA
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1642A1 #A17516
analogous
#1687A1 #1642A1 #2F16A1
triadic
#1642A1 #A11642 #42A116
tetradic
#1642A1 #A11687 #A17516 #16A12F
square
#1642A1 #A11687 #A17516 #16A12F
split-complementary
#1642A1 #A12F16 #87A116
monochromatic
#071635 #0F2C6B #1642A1 #1D58D7 #4B7CE6
Accessibility & contrast
On white
9.02
#1642A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1642A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1642A1
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1642A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1642A1 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1642a1; /* rgb */ color: rgb(22, 66, 161); /* oklch */ color: oklch(41.3% 0.162 262.8);
Tailwind
colors: {
custom: {
50: '#6f75be',
500: '#1642a1',
950: '#000000',
},
}SCSS
$custom: #1642a1; $custom-light: #6f75be; $custom-dark: #000000;
JSON
{
"hex": "#1642a1",
"rgb": {
"r": 22,
"g": 66,
"b": 161
},
"hsl": {
"h": 221.007,
"s": 75.956,
"l": 35.882
},
"oklch": {
"l": 0.41316,
"c": 0.16154,
"h": 262.8
},
"luminance": 0.0664
}Semantic roles & 50–950 ramp
primary
#1642A1
secondary
#C8A04B
accent
#B735F3
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81