#16127F#16127F
#16127F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.170 H 270.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).
Color values
| HEX | #16127F |
|---|---|
| RGB | rgb(22, 18, 127) |
| HSL | hsl(242, 75%, 28%) |
| HSV | hsv(242, 86%, 50%) |
| CMYK | cmyk(82.7%, 85.8%, 0%, 50.2%) |
| CIE-LAB | lab(16.18, 40.51, -58.69) |
| CIE-LCH | lch(16.18, 71.31, 304.61°) |
| OKLab | oklab(29.52% 0.0022 -0.1698) |
| OKLCH | oklch(29.52% 0.17 270.8) |
| XYZ | xyz(4.3767, 2.1350, 20.2560) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.01
Navy
#000080
ΔE00 3.01
Midnight Blue
#191970
ΔE00 3.11
Darkblue
#00008B
ΔE00 3.20
Dark Royal Blue
#02066F
ΔE00 3.31
Deep Blue
#040273
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16127F #7B7F12
analogous
#12447F #16127F #4C127F
triadic
#16127F #7F1612 #127F16
tetradic
#16127F #7F1244 #7B7F12 #127F4C
square
#16127F #7F1244 #7B7F12 #127F4C
split-complementary
#16127F #7F4C12 #447F12
monochromatic
#05041B #0D0A49 #16127F #1F1AB5 #312BE1
Accessibility & contrast
On white
14.72
#16127F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#16127F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16127F
14.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16127F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16127F | 1.00 | 14.72 | 1.43 | 14.72 |
| #FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #16127f; /* rgb */ color: rgb(22, 18, 127); /* oklch */ color: oklch(29.5% 0.170 270.8);
Tailwind
colors: {
custom: {
50: '#6a54a5',
500: '#16127f',
950: '#000000',
},
}SCSS
$custom: #16127f; $custom-light: #6a54a5; $custom-dark: #000000;
JSON
{
"hex": "#16127f",
"rgb": {
"r": 22,
"g": 18,
"b": 127
},
"hsl": {
"h": 242.202,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.29524,
"c": 0.16986,
"h": 270.8
},
"luminance": 0.02135
}Semantic roles & 50–950 ramp
primary
#16127F
secondary
#B0B538
accent
#F236EB
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F