#181556#181556

#181556 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.2% C 0.113 H 276.6°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#181556
RGBrgb(24, 21, 86)
HSLhsl(243, 61%, 21%)
HSVhsv(243, 76%, 34%)
CMYKcmyk(72.1%, 75.6%, 0%, 66.3%)
CIE-LABlab(11.97, 24.55, -38.73)
CIE-LCHlch(11.97, 45.86, 302.37°)
OKLaboklab(25.15% 0.013 -0.1118)
OKLCHoklch(25.15% 0.113 276.6)
XYZxyz(2.3240, 1.4022, 8.9505)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181556 #535615
analogous
#153256 #181556 #381556
triadic
#181556 #561815 #155618
tetradic
#181556 #561532 #535615 #155638
square
#181556 #561532 #535615 #155638
split-complementary
#181556 #563815 #325615
monochromatic
#070619 #0A0925 #181556 #262187 #332DB8

Accessibility & contrast

On white

16.40
#181556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181556
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181556#FFFFFF#000000##FFFFFF
##1815561.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181556;
/* rgb */ color: rgb(24, 21, 86);
/* oklch */ color: oklch(25.2% 0.113 276.6);
Tailwind
colors: {
  custom: {
    50: '#5f5386',
    500: '#181556',
    950: '#000000',
  },
}
SCSS
$custom: #181556;
$custom-light: #5f5386;
$custom-dark: #000000;
JSON
{
  "hex": "#181556",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 242.769,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25153,
    "c": 0.1126,
    "h": 276.6
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#181556
secondary
#8A8E39
accent
#E444DC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181556

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

Preview Lab → · Contrast checker → · Palette generator →

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