#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
RGBrgb(24, 18, 128)
HSLhsl(243, 75%, 29%)
HSVhsv(243, 86%, 50%)
CMYKcmyk(81.3%, 85.9%, 0%, 49.8%)
CIE-LABlab(16.43, 40.94, -58.91)
CIE-LCHlch(16.43, 71.74, 304.80°)
OKLaboklab(29.77% 0.0045 -0.1704)
OKLCHoklch(29.77% 0.171 271.5)
XYZxyz(4.4880, 2.1848, 20.6031)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##1812801.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.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

Preview Lab

Preview with #181280

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#181280 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva