#181558#181558

#181558 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.4% C 0.115 H 276.3°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#181558
RGBrgb(24, 21, 88)
HSLhsl(243, 61%, 21%)
HSVhsv(243, 76%, 35%)
CMYKcmyk(72.7%, 76.1%, 0%, 65.5%)
CIE-LABlab(12.19, 25.30, -39.73)
CIE-LCHlch(12.19, 47.11, 302.49°)
OKLaboklab(25.37% 0.0126 -0.1148)
OKLCHoklch(25.37% 0.115 276.3)
XYZxyz(2.4057, 1.4349, 9.3808)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181558 #555815
analogous
#153458 #181558 #3A1558
triadic
#181558 #581815 #155818
tetradic
#181558 #581534 #555815 #15583A
square
#181558 #581534 #555815 #15583A
split-complementary
#181558 #583A15 #345815
monochromatic
#070619 #0B0927 #181558 #252189 #332DBB

Accessibility & contrast

On white

16.32
#181558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181558
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181558#FFFFFF#000000##FFFFFF
##1815581.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181558;
/* rgb */ color: rgb(24, 21, 88);
/* oklch */ color: oklch(25.4% 0.115 276.3);
Tailwind
colors: {
  custom: {
    50: '#5f5388',
    500: '#181558',
    950: '#000000',
  },
}
SCSS
$custom: #181558;
$custom-light: #5f5388;
$custom-dark: #000000;
JSON
{
  "hex": "#181558",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 242.687,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25373,
    "c": 0.11546,
    "h": 276.3
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#181558
secondary
#8C9039
accent
#E543DD
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #181558

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

Preview Lab → · Contrast checker → · Palette generator →

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