#181C5D#181C5D

#181C5D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.114 H 273.3°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#181C5D
RGBrgb(24, 28, 93)
HSLhsl(237, 59%, 23%)
HSVhsv(237, 74%, 36%)
CMYKcmyk(74.2%, 69.9%, 0%, 63.5%)
CIE-LABlab(14.48, 22.42, -39.33)
CIE-LCHlch(14.48, 45.27, 299.69°)
OKLaboklab(27.19% 0.0065 -0.1136)
OKLCHoklch(27.19% 0.114 273.3)
XYZxyz(2.7671, 1.8147, 10.5583)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C5D #5D5918
analogous
#183E5D #181C5D #36185D
triadic
#181C5D #5D181C #1C5D18
tetradic
#181C5D #5D183E #5D5918 #185D36
square
#181C5D #5D183E #5D5918 #185D36
split-complementary
#181C5D #5D3618 #3E5D18
monochromatic
#060718 #0B0D2C #181C5D #252B8E #3139BE

Accessibility & contrast

On white

15.41
#181C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#181C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C5D
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C5D#FFFFFF#000000##FFFFFF
##181C5D1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181c5d;
/* rgb */ color: rgb(24, 28, 93);
/* oklch */ color: oklch(27.2% 0.114 273.3);
Tailwind
colors: {
  custom: {
    50: '#60588c',
    500: '#181c5d',
    950: '#000000',
  },
}
SCSS
$custom: #181c5d;
$custom-light: #60588c;
$custom-dark: #000000;
JSON
{
  "hex": "#181c5d",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 236.522,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27192,
    "c": 0.11376,
    "h": 273.3
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#181C5D
secondary
#938F3D
accent
#D946E2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #181C5D

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

Preview Lab → · Contrast checker → · Palette generator →

#181C5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva