#18108C#18108C
#18108C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.186 H 270.5°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #18108C |
|---|---|
| RGB | rgb(24, 16, 140) |
| HSL | hsl(244, 79%, 31%) |
| HSV | hsv(244, 89%, 55%) |
| CMYK | cmyk(82.9%, 88.6%, 0%, 45.1%) |
| CIE-LAB | lab(17.73, 45.58, -64.32) |
| CIE-LCH | lch(17.73, 78.83, 305.32°) |
| OKLab | oklab(31.11% 0.0017 -0.1861) |
| OKLCH | oklch(31.11% 0.186 270.5) |
| XYZ | xyz(5.2940, 2.4576, 25.0012) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.72
Darkblue
#00008B
ΔE00 2.43
Navy
#000080
ΔE00 3.23
Cobalt Blue
#030AA7
ΔE00 3.58
Royal Blue (survey)
#0504AA
ΔE00 4.01
Indigo (survey)
#380282
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18108C #848C10
analogous
#10468C #18108C #56108C
triadic
#18108C #8C1810 #108C18
tetradic
#18108C #8C1046 #848C10 #108C56
square
#18108C #8C1046 #848C10 #108C56
split-complementary
#18108C #8C5610 #468C10
monochromatic
#05031E #0F0A55 #18108C #2116C3 #3B2FE7
Accessibility & contrast
On white
14.08
#18108C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#18108C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18108C
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18108C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18108C | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00318F
Deuteranopia (green-blind)
#00258A
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #18108c; /* rgb */ color: rgb(24, 16, 140); /* oklch */ color: oklch(31.1% 0.186 270.5);
Tailwind
colors: {
custom: {
50: '#6e54af',
500: '#18108c',
950: '#000000',
},
}SCSS
$custom: #18108c; $custom-light: #6e54af; $custom-dark: #000000;
JSON
{
"hex": "#18108c",
"rgb": {
"r": 24,
"g": 16,
"b": 140
},
"hsl": {
"h": 243.871,
"s": 79.487,
"l": 30.588
},
"oklch": {
"l": 0.31107,
"c": 0.18607,
"h": 270.5
},
"luminance": 0.02458
}Semantic roles & 50–950 ramp
primary
#18108C
secondary
#B8C137
accent
#F632E9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880