#181C80#181C80
#181C80 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.162 H 270.5°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #181C80 |
|---|---|
| RGB | rgb(24, 28, 128) |
| HSL | hsl(238, 68%, 30%) |
| HSV | hsv(238, 81%, 50%) |
| CMYK | cmyk(81.3%, 78.1%, 0%, 49.8%) |
| CIE-LAB | lab(18.29, 35.56, -55.83) |
| CIE-LCH | lch(18.29, 66.19, 302.49°) |
| OKLab | oklab(31.07% 0.0014 -0.1617) |
| OKLCH | oklch(31.07% 0.162 270.5) |
| XYZ | xyz(4.6869, 2.5827, 20.6694) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Royal
#0C1793
ΔE00 3.07
Dark Royal Blue
#02066F
ΔE00 5.06
Darkblue
#00008B
ΔE00 5.17
Navy
#000080
ΔE00 5.20
Deep Blue
#040273
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181C80 #807C18
analogous
#185080 #181C80 #481880
triadic
#181C80 #80181C #1C8018
tetradic
#181C80 #801850 #807C18 #188048
square
#181C80 #801850 #807C18 #188048
split-complementary
#181C80 #804818 #508018
monochromatic
#05061A #0E114C #181C80 #2227B4 #393FDA
Accessibility & contrast
On white
13.85
#181C80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#181C80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181C80
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181C80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181C80 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #181c80; /* rgb */ color: rgb(24, 28, 128); /* oklch */ color: oklch(31.1% 0.162 270.5);
Tailwind
colors: {
custom: {
50: '#6a5aa6',
500: '#181c80',
950: '#000000',
},
}SCSS
$custom: #181c80; $custom-light: #6a5aa6; $custom-dark: #000000;
JSON
{
"hex": "#181c80",
"rgb": {
"r": 24,
"g": 28,
"b": 128
},
"hsl": {
"h": 237.692,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.31065,
"c": 0.16169,
"h": 270.5
},
"luminance": 0.02583
}Semantic roles & 50–950 ramp
primary
#181C80
secondary
#B4B040
accent
#E53DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F