#181554#181554

#181554 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.110 H 277.0°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#181554
RGBrgb(24, 21, 84)
HSLhsl(243, 60%, 21%)
HSVhsv(243, 75%, 33%)
CMYKcmyk(71.4%, 75%, 0%, 67.1%)
CIE-LABlab(11.76, 23.80, -37.72)
CIE-LCHlch(11.76, 44.60, 302.25°)
OKLaboklab(24.94% 0.0133 -0.1089)
OKLCHoklch(24.94% 0.11 277)
XYZxyz(2.2446, 1.3704, 8.5320)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181554 #515415
analogous
#153154 #181554 #371554
triadic
#181554 #541815 #155418
tetradic
#181554 #541531 #515415 #155437
square
#181554 #541531 #515415 #155437
split-complementary
#181554 #543715 #315415
monochromatic
#070618 #0A0923 #181554 #262185 #342DB6

Accessibility & contrast

On white

16.48
#181554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#181554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181554
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181554#FFFFFF#000000##FFFFFF
##1815541.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181554;
/* rgb */ color: rgb(24, 21, 84);
/* oklch */ color: oklch(24.9% 0.110 277.0);
Tailwind
colors: {
  custom: {
    50: '#5e5385',
    500: '#181554',
    950: '#000000',
  },
}
SCSS
$custom: #181554;
$custom-light: #5e5385;
$custom-dark: #000000;
JSON
{
  "hex": "#181554",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 242.857,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24935,
    "c": 0.1097,
    "h": 277
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#181554
secondary
#888C39
accent
#E345DC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181554

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

Preview Lab → · Contrast checker → · Palette generator →

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