#181180#181180

#181180 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.171 H 271.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#181180
RGBrgb(24, 17, 128)
HSLhsl(244, 77%, 28%)
HSVhsv(244, 87%, 50%)
CMYKcmyk(81.3%, 86.7%, 0%, 49.8%)
CIE-LABlab(16.27, 41.41, -59.17)
CIE-LCHlch(16.27, 72.22, 304.98°)
OKLaboklab(29.66% 0.0047 -0.1712)
OKLCHoklch(29.66% 0.171 271.6)
XYZxyz(4.4721, 2.1531, 20.5978)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181180 #798011
analogous
#114180 #181180 #4F1180
triadic
#181180 #801811 #118018
tetradic
#181180 #801141 #798011 #11804F
square
#181180 #801141 #798011 #11804F
split-complementary
#181180 #804F11 #418011
monochromatic
#05041B #0E0A4A #181180 #2218B6 #3529E3

Accessibility & contrast

On white

14.68
#181180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#181180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181180
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181180#FFFFFF#000000##FFFFFF
##1811801.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181180;
/* rgb */ color: rgb(24, 17, 128);
/* oklch */ color: oklch(29.7% 0.171 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b53a6',
    500: '#181180',
    950: '#000000',
  },
}
SCSS
$custom: #181180;
$custom-light: #6b53a6;
$custom-dark: #000000;
JSON
{
  "hex": "#181180",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 243.784,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29656,
    "c": 0.17125,
    "h": 271.6
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#181180
secondary
#AEB637
accent
#F335E7
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181180

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

Preview Lab → · Contrast checker → · Palette generator →

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