#181984#181984
#181984 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.170 H 270.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #181984 |
|---|---|
| RGB | rgb(24, 25, 132) |
| HSL | hsl(239, 69%, 31%) |
| HSV | hsv(239, 82%, 52%) |
| CMYK | cmyk(81.8%, 81.1%, 0%, 48.2%) |
| CIE-LAB | lab(18.16, 38.67, -58.56) |
| CIE-LCH | lch(18.16, 70.18, 303.44°) |
| OKLab | oklab(31.12% 0.0017 -0.1696) |
| OKLCH | oklch(31.12% 0.17 270.6) |
| XYZ | xyz(4.8878, 2.5548, 22.0609) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.23
Midnight Blue
#191970
ΔE00 3.19
Darkblue
#00008B
ΔE00 4.23
Navy
#000080
ΔE00 4.44
Dark Royal Blue
#02066F
ΔE00 4.78
Deep Blue
#040273
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181984 #848318
analogous
#184F84 #181984 #4D1884
triadic
#181984 #841819 #198418
tetradic
#181984 #84184F #848318 #18844D
square
#181984 #84184F #848318 #18844D
split-complementary
#181984 #844D18 #4F8418
monochromatic
#05051C #0F0F50 #181984 #2123B8 #3B3DDB
Accessibility & contrast
On white
13.90
#181984 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#181984 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181984
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181984 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181984 | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181984; /* rgb */ color: rgb(24, 25, 132); /* oklch */ color: oklch(31.1% 0.170 270.6);
Tailwind
colors: {
custom: {
50: '#6b58a9',
500: '#181984',
950: '#000000',
},
}SCSS
$custom: #181984; $custom-light: #6b58a9; $custom-dark: #000000;
JSON
{
"hex": "#181984",
"rgb": {
"r": 24,
"g": 25,
"b": 132
},
"hsl": {
"h": 239.444,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.31118,
"c": 0.16959,
"h": 270.6
},
"luminance": 0.02555
}Semantic roles & 50–950 ramp
primary
#181984
secondary
#B8B740
accent
#EA3CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F