#181561#181561

#181561 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.128 H 274.9°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#181561
RGBrgb(24, 21, 97)
HSLhsl(242, 64%, 23%)
HSVhsv(242, 78%, 38%)
CMYKcmyk(75.3%, 78.4%, 0%, 62%)
CIE-LABlab(13.19, 28.64, -44.12)
CIE-LCHlch(13.19, 52.60, 302.99°)
OKLaboklab(26.39% 0.0108 -0.1276)
OKLCHoklch(26.39% 0.128 274.9)
XYZxyz(2.8018, 1.5933, 11.4668)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181561 #5E6115
analogous
#153861 #181561 #3E1561
triadic
#181561 #611815 #156118
tetradic
#181561 #611538 #5E6115 #15613E
square
#181561 #611538 #5E6115 #15613E
split-complementary
#181561 #613E15 #386115
monochromatic
#060519 #0C0A2F #181561 #242093 #312BC6

Accessibility & contrast

On white

15.92
#181561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#181561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181561
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181561#FFFFFF#000000##FFFFFF
##1815611.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#001E60
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181561;
/* rgb */ color: rgb(24, 21, 97);
/* oklch */ color: oklch(26.4% 0.128 274.9);
Tailwind
colors: {
  custom: {
    50: '#62538f',
    500: '#181561',
    950: '#000000',
  },
}
SCSS
$custom: #181561;
$custom-light: #62538f;
$custom-dark: #000000;
JSON
{
  "hex": "#181561",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 242.368,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26389,
    "c": 0.12803,
    "h": 274.9
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#181561
secondary
#94983A
accent
#E740E1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #181561

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

Preview Lab → · Contrast checker → · Palette generator →

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