#180E4D#180E4D

#180E4D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.0% C 0.108 H 280.9°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#180E4D
RGBrgb(24, 14, 77)
HSLhsl(250, 69%, 18%)
HSVhsv(250, 82%, 30%)
CMYKcmyk(68.8%, 81.8%, 0%, 69.8%)
CIE-LABlab(9.35, 25.77, -36.87)
CIE-LCHlch(9.35, 44.99, 304.95°)
OKLaboklab(22.99% 0.0204 -0.1064)
OKLCHoklch(22.99% 0.108 280.9)
XYZxyz(1.8729, 1.0439, 7.1225)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E4D #434D0E
analogous
#0E234D #180E4D #370E4D
triadic
#180E4D #4D180E #0E4D18
tetradic
#180E4D #4D0E23 #434D0E #0E4D37
square
#180E4D #4D0E23 #434D0E #0E4D37
split-complementary
#180E4D #4D370E #234D0E
monochromatic
#08051A #08051A #180E4D #281781 #3821B5

Accessibility & contrast

On white

17.37
#180E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#180E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E4D
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E4D#FFFFFF#000000##FFFFFF
##180E4D1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #180e4d;
/* rgb */ color: rgb(24, 14, 77);
/* oklch */ color: oklch(23.0% 0.108 280.9);
Tailwind
colors: {
  custom: {
    50: '#5d4e80',
    500: '#180e4d',
    950: '#000000',
  },
}
SCSS
$custom: #180e4d;
$custom-light: #5d4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#180e4d",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 249.524,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22986,
    "c": 0.10832,
    "h": 280.9
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#180E4D
secondary
#7A882F
accent
#EC3CD0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #180E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#180E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva