#181551#181551

#181551 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.105 H 277.5°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#181551
RGBrgb(24, 21, 81)
HSLhsl(243, 59%, 20%)
HSVhsv(243, 74%, 32%)
CMYKcmyk(70.4%, 74.1%, 0%, 68.2%)
CIE-LABlab(11.45, 22.66, -36.19)
CIE-LCHlch(11.45, 42.70, 302.05°)
OKLaboklab(24.61% 0.0138 -0.1044)
OKLCHoklch(24.61% 0.105 277.5)
XYZxyz(2.1296, 1.3244, 7.9264)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181551 #4E5115
analogous
#153051 #181551 #361551
triadic
#181551 #511815 #155118
tetradic
#181551 #511530 #4E5115 #155136
square
#181551 #511530 #4E5115 #155136
split-complementary
#181551 #513615 #305115
monochromatic
#070618 #0A0820 #181551 #262282 #352EB2

Accessibility & contrast

On white

16.60
#181551 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181551 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181551
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181551#FFFFFF#000000##FFFFFF
##1815511.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002153
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181551;
/* rgb */ color: rgb(24, 21, 81);
/* oklch */ color: oklch(24.6% 0.105 277.5);
Tailwind
colors: {
  custom: {
    50: '#5e5382',
    500: '#181551',
    950: '#000000',
  },
}
SCSS
$custom: #181551;
$custom-light: #5e5382;
$custom-dark: #000000;
JSON
{
  "hex": "#181551",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 81
  },
  "hsl": {
    "h": 243,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.24613,
    "c": 0.10532,
    "h": 277.5
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#181551
secondary
#858939
accent
#E246DA
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #181551

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

Preview Lab → · Contrast checker → · Palette generator →

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