#16398F#16398F
#16398F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.148 H 263.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #16398F |
|---|---|
| RGB | rgb(22, 57, 143) |
| HSL | hsl(223, 73%, 32%) |
| HSV | hsv(223, 85%, 56%) |
| CMYK | cmyk(84.6%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(26.96, 21.89, -50.97) |
| CIE-LCH | lch(26.96, 55.47, 293.24°) |
| OKLab | oklab(37.83% -0.0159 -0.1474) |
| OKLCH | oklch(37.83% 0.148 263.9) |
| XYZ | xyz(6.7502, 5.0792, 26.6059) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.72
Darkish Blue
#014182
ΔE00 5.08
Cobalt (survey)
#1E488F
ΔE00 5.15
Cobalt
#0047AB
ΔE00 5.57
Twilight Blue
#0A437A
ΔE00 6.27
Marine Blue
#01386A
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16398F #8F6C16
analogous
#16758F #16398F #30168F
triadic
#16398F #8F1639 #398F16
tetradic
#16398F #8F1675 #8F6C16 #168F30
square
#16398F #8F1675 #8F6C16 #168F30
split-complementary
#16398F #8F3016 #758F16
monochromatic
#060F25 #0E245A #16398F #1E4EC4 #3E6DE1
Accessibility & contrast
On white
10.42
#16398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#16398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16398F
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16398F | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #16398f; /* rgb */ color: rgb(22, 57, 143); /* oklch */ color: oklch(37.8% 0.148 263.9);
Tailwind
colors: {
custom: {
50: '#6a6eb1',
500: '#16398f',
950: '#000000',
},
}SCSS
$custom: #16398f; $custom-light: #6a6eb1; $custom-dark: #000000;
JSON
{
"hex": "#16398f",
"rgb": {
"r": 22,
"g": 57,
"b": 143
},
"hsl": {
"h": 222.645,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.37832,
"c": 0.14823,
"h": 263.9
},
"luminance": 0.0508
}Semantic roles & 50–950 ramp
primary
#16398F
secondary
#C19C3F
accent
#BB38F0
background
#F6F6FB
surface
#ECEBF6
border
#C7C6D0
text
#080711
muted
#7A7A80