#181552#181552

#181552 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.7% C 0.107 H 277.3°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#181552
RGBrgb(24, 21, 82)
HSLhsl(243, 59%, 20%)
HSVhsv(243, 74%, 32%)
CMYKcmyk(70.7%, 74.4%, 0%, 67.8%)
CIE-LABlab(11.55, 23.04, -36.70)
CIE-LCHlch(11.55, 43.34, 302.12°)
OKLaboklab(24.72% 0.0137 -0.1059)
OKLCHoklch(24.72% 0.107 277.3)
XYZxyz(2.1674, 1.3395, 8.1253)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181552 #4F5215
analogous
#153052 #181552 #361552
triadic
#181552 #521815 #155218
tetradic
#181552 #521530 #4F5215 #155236
square
#181552 #521530 #4F5215 #155236
split-complementary
#181552 #523615 #305215
monochromatic
#070618 #0A0921 #181552 #262183 #352EB3

Accessibility & contrast

On white

16.56
#181552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181552
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181552#FFFFFF#000000##FFFFFF
##1815521.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181552;
/* rgb */ color: rgb(24, 21, 82);
/* oklch */ color: oklch(24.7% 0.107 277.3);
Tailwind
colors: {
  custom: {
    50: '#5e5383',
    500: '#181552',
    950: '#000000',
  },
}
SCSS
$custom: #181552;
$custom-light: #5e5383;
$custom-dark: #000000;
JSON
{
  "hex": "#181552",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 242.951,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2472,
    "c": 0.10679,
    "h": 277.3
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#181552
secondary
#868A39
accent
#E245DB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181552

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

Preview Lab → · Contrast checker → · Palette generator →

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