#180D50#180D50

#180D50 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.114 H 280.3°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#180D50
RGBrgb(24, 13, 80)
HSLhsl(250, 72%, 18%)
HSVhsv(250, 84%, 31%)
CMYKcmyk(70%, 83.7%, 0%, 68.6%)
CIE-LABlab(9.49, 27.43, -38.72)
CIE-LCHlch(9.49, 47.45, 305.31°)
OKLaboklab(23.19% 0.0203 -0.1117)
OKLCHoklch(23.19% 0.114 280.3)
XYZxyz(1.9681, 1.0611, 7.6890)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180D50 #45500D
analogous
#0D2350 #180D50 #390D50
triadic
#180D50 #50180D #0D5018
tetradic
#180D50 #500D23 #45500D #0D5039
square
#180D50 #500D23 #45500D #0D5039
split-complementary
#180D50 #50390D #23500D
monochromatic
#08041A #08041B #180D50 #281685 #381EB9

Accessibility & contrast

On white

17.32
#180D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180D50
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180D50#FFFFFF#000000##FFFFFF
##180D501.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #180d50;
/* rgb */ color: rgb(24, 13, 80);
/* oklch */ color: oklch(23.2% 0.114 280.3);
Tailwind
colors: {
  custom: {
    50: '#5e4d82',
    500: '#180d50',
    950: '#000000',
  },
}
SCSS
$custom: #180d50;
$custom-light: #5e4d82;
$custom-dark: #000000;
JSON
{
  "hex": "#180d50",
  "rgb": {
    "r": 24,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 249.851,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23188,
    "c": 0.11358,
    "h": 280.3
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#180D50
secondary
#7C8B2E
accent
#EF39D1
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #180D50

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

Preview Lab → · Contrast checker → · Palette generator →

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