#18107B#18107B
#18107B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.166 H 272.2°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).
Color values
| HEX | #18107B |
|---|---|
| RGB | rgb(24, 16, 123) |
| HSL | hsl(244, 77%, 27%) |
| HSV | hsv(244, 87%, 48%) |
| CMYK | cmyk(80.5%, 87%, 0%, 51.8%) |
| CIE-LAB | lab(15.46, 40.27, -57.33) |
| CIE-LCH | lch(15.46, 70.06, 305.09°) |
| OKLab | oklab(28.91% 0.0063 -0.1658) |
| OKLCH | oklch(28.91% 0.166 272.2) |
| XYZ | xyz(4.1359, 1.9944, 18.9020) |
| Luminance | 0.0199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Royal Blue
#02066F
ΔE00 2.76
Navy
#000080
ΔE00 2.82
Deep Blue
#040273
ΔE00 2.84
Midnight Blue
#191970
ΔE00 2.97
Darkblue
#00008B
ΔE00 3.32
Royal
#0C1793
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18107B #737B10
analogous
#103E7B #18107B #4E107B
triadic
#18107B #7B1810 #107B18
tetradic
#18107B #7B103E #737B10 #107B4E
square
#18107B #7B103E #737B10 #107B4E
split-complementary
#18107B #7B4E10 #3E7B10
monochromatic
#05041B #0D0945 #18107B #2317B1 #3123E2
Accessibility & contrast
On white
15.01
#18107B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#18107B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18107B
15.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18107B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18107B | 1.00 | 15.01 | 1.40 | 15.01 |
| #FFFFFF | 15.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7E
Deuteranopia (green-blind)
#002179
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #18107b; /* rgb */ color: rgb(24, 16, 123); /* oklch */ color: oklch(28.9% 0.166 272.2);
Tailwind
colors: {
custom: {
50: '#6952a2',
500: '#18107b',
950: '#000000',
},
}SCSS
$custom: #18107b; $custom-light: #6952a2; $custom-dark: #000000;
JSON
{
"hex": "#18107b",
"rgb": {
"r": 24,
"g": 16,
"b": 123
},
"hsl": {
"h": 244.486,
"s": 76.978,
"l": 27.255
},
"oklch": {
"l": 0.28909,
"c": 0.16597,
"h": 272.2
},
"luminance": 0.01995
}Semantic roles & 50–950 ramp
primary
#18107B
secondary
#A8B235
accent
#F434E5
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08020F
muted
#7A787F