#181C85#181C85
#181C85 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.168 H 270.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #181C85 |
|---|---|
| RGB | rgb(24, 28, 133) |
| HSL | hsl(238, 69%, 31%) |
| HSV | hsv(238, 82%, 52%) |
| CMYK | cmyk(82%, 78.9%, 0%, 47.8%) |
| CIE-LAB | lab(18.88, 37.32, -58.02) |
| CIE-LCH | lch(18.88, 68.98, 302.75°) |
| OKLab | oklab(31.65% 0.0005 -0.168) |
| OKLCH | oklch(31.65% 0.168 270.2) |
| XYZ | xyz(5.0241, 2.7176, 22.4455) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.36
Midnight Blue
#191970
ΔE00 3.29
Darkblue
#00008B
ΔE00 4.88
Navy
#000080
ΔE00 5.13
Dark Royal Blue
#02066F
ΔE00 5.38
Cobalt Blue
#030AA7
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181C85 #858118
analogous
#185285 #181C85 #4A1885
triadic
#181C85 #85181C #1C8518
tetradic
#181C85 #851852 #858118 #18854A
square
#181C85 #851852 #858118 #18854A
split-complementary
#181C85 #854A18 #528518
monochromatic
#05061D #0F1151 #181C85 #2127B9 #3C42DC
Accessibility & contrast
On white
13.60
#181C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#181C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181C85
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181C85 | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #181c85; /* rgb */ color: rgb(24, 28, 133); /* oklch */ color: oklch(31.7% 0.168 270.2);
Tailwind
colors: {
custom: {
50: '#6b5aaa',
500: '#181c85',
950: '#000000',
},
}SCSS
$custom: #181c85; $custom-light: #6b5aaa; $custom-dark: #000000;
JSON
{
"hex": "#181c85",
"rgb": {
"r": 24,
"g": 28,
"b": 133
},
"hsl": {
"h": 237.798,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.31652,
"c": 0.16803,
"h": 270.2
},
"luminance": 0.02718
}Semantic roles & 50–950 ramp
primary
#181C85
secondary
#B9B440
accent
#E63CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F