#1638B4#1638B4
#1638B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.198 H 265.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1638B4 |
|---|---|
| RGB | rgb(22, 56, 180) |
| HSL | hsl(227, 78%, 40%) |
| HSV | hsv(227, 88%, 71%) |
| CMYK | cmyk(87.8%, 68.9%, 0%, 29.4%) |
| CIE-LAB | lab(30.14, 37.01, -68.16) |
| CIE-LCH | lch(30.14, 77.56, 298.50°) |
| OKLab | oklab(41.23% -0.0158 -0.1976) |
| OKLCH | oklch(41.23% 0.198 265.4) |
| XYZ | xyz(9.9804, 6.2929, 43.8598) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.23
Blue Blue
#2242C7
ΔE00 3.79
Cobalt
#0047AB
ΔE00 5.85
Blue (survey)
#0343DF
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.21
Blueberry
#464196
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1638B4 #B49216
analogous
#1687B4 #1638B4 #4316B4
triadic
#1638B4 #B41638 #38B416
tetradic
#1638B4 #B41687 #B49216 #16B443
square
#1638B4 #B41687 #B49216 #16B443
split-complementary
#1638B4 #B44316 #87B416
monochromatic
#091647 #0F277D #1638B4 #234DE4 #5A79EB
Accessibility & contrast
On white
9.30
#1638B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1638B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1638B4
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1638B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1638B4 | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1638b4; /* rgb */ color: rgb(22, 56, 180); /* oklch */ color: oklch(41.2% 0.198 265.4);
Tailwind
colors: {
custom: {
50: '#756ecc',
500: '#1638b4',
950: '#000000',
},
}SCSS
$custom: #1638b4; $custom-light: #756ecc; $custom-dark: #000000;
JSON
{
"hex": "#1638b4",
"rgb": {
"r": 22,
"g": 56,
"b": 180
},
"hsl": {
"h": 227.089,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.41232,
"c": 0.19827,
"h": 265.4
},
"luminance": 0.06294
}Semantic roles & 50–950 ramp
primary
#1638B4
secondary
#CEB558
accent
#CB33F5
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0713
muted
#7C7A82