#181C84#181C84
#181C84 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.167 H 270.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #181C84 |
|---|---|
| RGB | rgb(24, 28, 132) |
| HSL | hsl(238, 69%, 31%) |
| HSV | hsv(238, 82%, 52%) |
| CMYK | cmyk(81.8%, 78.8%, 0%, 48.2%) |
| CIE-LAB | lab(18.76, 36.97, -57.58) |
| CIE-LCH | lch(18.76, 68.43, 302.70°) |
| OKLab | oklab(31.53% 0.0007 -0.1668) |
| OKLCH | oklch(31.53% 0.167 270.2) |
| XYZ | xyz(4.9554, 2.6901, 22.0834) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.49
Midnight Blue
#191970
ΔE00 3.14
Darkblue
#00008B
ΔE00 4.92
Navy
#000080
ΔE00 5.14
Dark Royal Blue
#02066F
ΔE00 5.31
Deep Blue
#040273
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181C84 #848018
analogous
#185284 #181C84 #4A1884
triadic
#181C84 #84181C #1C8418
tetradic
#181C84 #841852 #848018 #18844A
square
#181C84 #841852 #848018 #18844A
split-complementary
#181C84 #844A18 #528418
monochromatic
#05061C #0F1150 #181C84 #2127B8 #3B41DB
Accessibility & contrast
On white
13.65
#181C84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#181C84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181C84
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181C84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181C84 | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #181c84; /* rgb */ color: rgb(24, 28, 132); /* oklch */ color: oklch(31.5% 0.167 270.2);
Tailwind
colors: {
custom: {
50: '#6b5aa9',
500: '#181c84',
950: '#000000',
},
}SCSS
$custom: #181c84; $custom-light: #6b5aa9; $custom-dark: #000000;
JSON
{
"hex": "#181c84",
"rgb": {
"r": 24,
"g": 28,
"b": 132
},
"hsl": {
"h": 237.778,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.31534,
"c": 0.16677,
"h": 270.2
},
"luminance": 0.02691
}Semantic roles & 50–950 ramp
primary
#181C84
secondary
#B8B340
accent
#E63CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F