#181555#181555

#181555 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.111 H 276.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#181555
RGBrgb(24, 21, 85)
HSLhsl(243, 60%, 21%)
HSVhsv(243, 75%, 33%)
CMYKcmyk(71.8%, 75.3%, 0%, 66.7%)
CIE-LABlab(11.87, 24.18, -38.23)
CIE-LCHlch(11.87, 45.23, 302.31°)
OKLaboklab(25.04% 0.0132 -0.1104)
OKLCHoklch(25.04% 0.111 276.8)
XYZxyz(2.2840, 1.3862, 8.7398)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181555 #525515
analogous
#153255 #181555 #381555
triadic
#181555 #551815 #155518
tetradic
#181555 #551532 #525515 #155538
square
#181555 #551532 #525515 #155538
split-complementary
#181555 #553815 #325515
monochromatic
#070619 #0A0924 #181555 #262186 #342DB7

Accessibility & contrast

On white

16.44
#181555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181555
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181555#FFFFFF#000000##FFFFFF
##1815551.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#001C54
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181555;
/* rgb */ color: rgb(24, 21, 85);
/* oklch */ color: oklch(25.0% 0.111 276.8);
Tailwind
colors: {
  custom: {
    50: '#5f5386',
    500: '#181555',
    950: '#000000',
  },
}
SCSS
$custom: #181555;
$custom-light: #5f5386;
$custom-dark: #000000;
JSON
{
  "hex": "#181555",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 242.813,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25044,
    "c": 0.11115,
    "h": 276.8
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#181555
secondary
#898D39
accent
#E444DC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181555

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

Preview Lab → · Contrast checker → · Palette generator →

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