#181280#181280
#181280 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.171 H 271.5°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #181280 |
|---|---|
| RGB | rgb(24, 18, 128) |
| HSL | hsl(243, 75%, 29%) |
| HSV | hsv(243, 86%, 50%) |
| CMYK | cmyk(81.3%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(16.43, 40.94, -58.91) |
| CIE-LCH | lch(16.43, 71.74, 304.80°) |
| OKLab | oklab(29.77% 0.0045 -0.1704) |
| OKLCH | oklch(29.77% 0.171 271.5) |
| XYZ | xyz(4.4880, 2.1848, 20.6031) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.89
Navy
#000080
ΔE00 3.03
Darkblue
#00008B
ΔE00 3.14
Midnight Blue
#191970
ΔE00 3.25
Deep Blue
#040273
ΔE00 3.47
Dark Royal Blue
#02066F
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181280 #7A8012
analogous
#124380 #181280 #4F1280
triadic
#181280 #801812 #128018
tetradic
#181280 #801243 #7A8012 #12804F
square
#181280 #801243 #7A8012 #12804F
split-complementary
#181280 #804F12 #438012
monochromatic
#05041B #0E0A4A #181280 #221AB6 #352BE1
Accessibility & contrast
On white
14.61
#181280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#181280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181280
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181280 | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181280; /* rgb */ color: rgb(24, 18, 128); /* oklch */ color: oklch(29.8% 0.171 271.5);
Tailwind
colors: {
custom: {
50: '#6b54a6',
500: '#181280',
950: '#000000',
},
}SCSS
$custom: #181280; $custom-light: #6b54a6; $custom-dark: #000000;
JSON
{
"hex": "#181280",
"rgb": {
"r": 24,
"g": 18,
"b": 128
},
"hsl": {
"h": 243.273,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.29765,
"c": 0.17051,
"h": 271.5
},
"luminance": 0.02185
}Semantic roles & 50–950 ramp
primary
#181280
secondary
#AFB638
accent
#F236E8
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F