#181E5D#181E5D

#181E5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.111 H 272.5°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#181E5D
RGBrgb(24, 30, 93)
HSLhsl(235, 59%, 23%)
HSVhsv(235, 74%, 36%)
CMYKcmyk(74.2%, 67.7%, 0%, 63.5%)
CIE-LABlab(15.02, 21.00, -38.44)
CIE-LCHlch(15.02, 43.80, 298.64°)
OKLaboklab(27.59% 0.0049 -0.111)
OKLCHoklch(27.59% 0.111 272.5)
XYZxyz(2.8161, 1.9128, 10.5746)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E5D #5D5718
analogous
#18405D #181E5D #35185D
triadic
#181E5D #5D181E #1E5D18
tetradic
#181E5D #5D1840 #5D5718 #185D35
square
#181E5D #5D1840 #5D5718 #185D35
split-complementary
#181E5D #5D3518 #405D18
monochromatic
#060818 #0B0E2C #181E5D #252E8E #313DBE

Accessibility & contrast

On white

15.19
#181E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E5D
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E5D#FFFFFF#000000##FFFFFF
##181E5D1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00235C
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181e5d;
/* rgb */ color: rgb(24, 30, 93);
/* oklch */ color: oklch(27.6% 0.111 272.5);
Tailwind
colors: {
  custom: {
    50: '#60598c',
    500: '#181e5d',
    950: '#000000',
  },
}
SCSS
$custom: #181e5d;
$custom-light: #60598c;
$custom-dark: #000000;
JSON
{
  "hex": "#181e5d",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 234.783,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27586,
    "c": 0.11108,
    "h": 272.5
  },
  "luminance": 0.01913
}

Semantic roles & 50–950 ramp

primary
#181E5D
secondary
#938C3D
accent
#D546E2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #181E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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