#181559#181559

#181559 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.117 H 276.1°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#181559
RGBrgb(24, 21, 89)
HSLhsl(243, 62%, 22%)
HSVhsv(243, 76%, 35%)
CMYKcmyk(73%, 76.4%, 0%, 65.1%)
CIE-LABlab(12.30, 25.68, -40.23)
CIE-LCHlch(12.30, 47.73, 302.55°)
OKLaboklab(25.48% 0.0124 -0.1162)
OKLCHoklch(25.48% 0.117 276.1)
XYZxyz(2.4474, 1.4516, 9.6005)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181559 #565915
analogous
#153459 #181559 #3A1559
triadic
#181559 #591815 #155918
tetradic
#181559 #591534 #565915 #15593A
square
#181559 #591534 #565915 #15593A
split-complementary
#181559 #593A15 #345915
monochromatic
#070619 #0B0927 #181559 #25218B #332CBC

Accessibility & contrast

On white

16.27
#181559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181559
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181559#FFFFFF#000000##FFFFFF
##1815591.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#001D58
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181559;
/* rgb */ color: rgb(24, 21, 89);
/* oklch */ color: oklch(25.5% 0.117 276.1);
Tailwind
colors: {
  custom: {
    50: '#605389',
    500: '#181559',
    950: '#000000',
  },
}
SCSS
$custom: #181559;
$custom-light: #605389;
$custom-dark: #000000;
JSON
{
  "hex": "#181559",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 242.647,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25484,
    "c": 0.11688,
    "h": 276.1
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#181559
secondary
#8D9139
accent
#E543DE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #181559

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

Preview Lab → · Contrast checker → · Palette generator →

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