#181560#181560

#181560 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.127 H 275.0°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#181560
RGBrgb(24, 21, 96)
HSLhsl(242, 64%, 23%)
HSVhsv(242, 78%, 38%)
CMYKcmyk(75%, 78.1%, 0%, 62.4%)
CIE-LABlab(13.08, 28.27, -43.64)
CIE-LCHlch(13.08, 52.00, 302.94°)
OKLaboklab(26.27% 0.0111 -0.1262)
OKLCHoklch(26.27% 0.127 275)
XYZxyz(2.7555, 1.5748, 11.2228)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181560 #5D6015
analogous
#153760 #181560 #3D1560
triadic
#181560 #601815 #156018
tetradic
#181560 #601537 #5D6015 #15603D
square
#181560 #601537 #5D6015 #15603D
split-complementary
#181560 #603D15 #376015
monochromatic
#060519 #0B0A2E #181560 #252092 #312BC4

Accessibility & contrast

On white

15.97
#181560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181560
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181560#FFFFFF#000000##FFFFFF
##1815601.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#001E5F
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181560;
/* rgb */ color: rgb(24, 21, 96);
/* oklch */ color: oklch(26.3% 0.127 275.0);
Tailwind
colors: {
  custom: {
    50: '#62538e',
    500: '#181560',
    950: '#000000',
  },
}
SCSS
$custom: #181560;
$custom-light: #62538e;
$custom-dark: #000000;
JSON
{
  "hex": "#181560",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 242.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26274,
    "c": 0.12666,
    "h": 275
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#181560
secondary
#93973A
accent
#E741E0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #181560

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

Preview Lab → · Contrast checker → · Palette generator →

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