#1640B4#1640B4
#1640B4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.189 H 264.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1640B4 |
|---|---|
| RGB | rgb(22, 64, 180) |
| HSL | hsl(224, 78%, 40%) |
| HSV | hsv(224, 88%, 71%) |
| CMYK | cmyk(87.8%, 64.4%, 0%, 29.4%) |
| CIE-LAB | lab(32.10, 31.80, -64.92) |
| CIE-LCH | lch(32.10, 72.30, 296.10°) |
| OKLab | oklab(42.67% -0.0189 -0.1882) |
| OKLCH | oklch(42.67% 0.189 264.3) |
| XYZ | xyz(10.3996, 7.1313, 43.9995) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.80
Blue Blue
#2242C7
ΔE00 2.94
Cobalt
#0047AB
ΔE00 3.57
Blue (survey)
#0343DF
ΔE00 5.56
Sapphire
#0F52BA
ΔE00 6.12
Ocean Blue
#4F42B5
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1640B4 #B48A16
analogous
#168FB4 #1640B4 #3B16B4
triadic
#1640B4 #B41640 #40B416
tetradic
#1640B4 #B4168F #B48A16 #16B43B
square
#1640B4 #B4168F #B48A16 #16B43B
split-complementary
#1640B4 #B43B16 #8FB416
monochromatic
#091947 #0F2D7D #1640B4 #2356E4 #5A80EB
Accessibility & contrast
On white
8.65
#1640B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1640B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1640B4
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1640B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1640B4 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1640b4; /* rgb */ color: rgb(22, 64, 180); /* oklch */ color: oklch(42.7% 0.189 264.3);
Tailwind
colors: {
custom: {
50: '#7474cc',
500: '#1640b4',
950: '#000000',
},
}SCSS
$custom: #1640b4; $custom-light: #7474cc; $custom-dark: #000000;
JSON
{
"hex": "#1640b4",
"rgb": {
"r": 22,
"g": 64,
"b": 180
},
"hsl": {
"h": 224.051,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.42673,
"c": 0.1891,
"h": 264.3
},
"luminance": 0.07133
}Semantic roles & 50–950 ramp
primary
#1640B4
secondary
#CEAF58
accent
#C133F5
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82