#18107F#18107F
#18107F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.171 H 271.7°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #18107F |
|---|---|
| RGB | rgb(24, 16, 127) |
| HSL | hsl(244, 78%, 28%) |
| HSV | hsv(244, 87%, 50%) |
| CMYK | cmyk(81.1%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(15.99, 41.54, -59.01) |
| CIE-LCH | lch(15.99, 72.17, 305.15°) |
| OKLab | oklab(29.42% 0.0052 -0.1707) |
| OKLCH | oklch(29.42% 0.171 271.7) |
| XYZ | xyz(4.3915, 2.0966, 20.2478) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.70
Darkblue
#00008B
ΔE00 2.92
Deep Blue
#040273
ΔE00 3.11
Royal
#0C1793
ΔE00 3.16
Dark Royal Blue
#02066F
ΔE00 3.17
Midnight Blue
#191970
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18107F #777F10
analogous
#10407F #18107F #4F107F
triadic
#18107F #7F1810 #107F18
tetradic
#18107F #7F1040 #777F10 #107F4F
square
#18107F #7F1040 #777F10 #107F4F
split-complementary
#18107F #7F4F10 #407F10
monochromatic
#05031B #0E0949 #18107F #2217B5 #3326E4
Accessibility & contrast
On white
14.79
#18107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#18107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18107F
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18107F | 1.00 | 14.79 | 1.42 | 14.79 |
| #FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #18107f; /* rgb */ color: rgb(24, 16, 127); /* oklch */ color: oklch(29.4% 0.171 271.7);
Tailwind
colors: {
custom: {
50: '#6b53a5',
500: '#18107f',
950: '#000000',
},
}SCSS
$custom: #18107f; $custom-light: #6b53a5; $custom-dark: #000000;
JSON
{
"hex": "#18107f",
"rgb": {
"r": 24,
"g": 16,
"b": 127
},
"hsl": {
"h": 244.324,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.29423,
"c": 0.17078,
"h": 271.7
},
"luminance": 0.02097
}Semantic roles & 50–950 ramp
primary
#18107F
secondary
#ACB536
accent
#F434E6
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F