#181380#181380

#181380 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.170 H 271.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#181380
RGBrgb(24, 19, 128)
HSLhsl(243, 74%, 29%)
HSVhsv(243, 85%, 50%)
CMYKcmyk(81.3%, 85.2%, 0%, 49.8%)
CIE-LABlab(16.59, 40.46, -58.64)
CIE-LCHlch(16.59, 71.24, 304.61°)
OKLaboklab(29.88% 0.0042 -0.1697)
OKLCHoklch(29.88% 0.17 271.4)
XYZxyz(4.5045, 2.2179, 20.6086)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181380 #7B8013
analogous
#134580 #181380 #4F1380
triadic
#181380 #801813 #138018
tetradic
#181380 #801345 #7B8013 #13804F
square
#181380 #801345 #7B8013 #13804F
split-complementary
#181380 #804F13 #458013
monochromatic
#05041B #0E0B4B #181380 #221BB5 #362DE0

Accessibility & contrast

On white

14.55
#181380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#181380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181380
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181380#FFFFFF#000000##FFFFFF
##1813801.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.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: #181380;
/* rgb */ color: rgb(24, 19, 128);
/* oklch */ color: oklch(29.9% 0.170 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b54a6',
    500: '#181380',
    950: '#000000',
  },
}
SCSS
$custom: #181380;
$custom-light: #6b54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#181380",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 242.752,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29877,
    "c": 0.16974,
    "h": 271.4
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#181380
secondary
#B0B539
accent
#F137E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181380

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

Preview Lab → · Contrast checker → · Palette generator →

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