#180D53#180D53

#180D53 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.118 H 279.5°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#180D53
RGBrgb(24, 13, 83)
HSLhsl(249, 73%, 19%)
HSVhsv(249, 84%, 33%)
CMYKcmyk(71.1%, 84.3%, 0%, 67.5%)
CIE-LABlab(9.85, 28.47, -40.19)
CIE-LCHlch(9.85, 49.25, 305.32°)
OKLaboklab(23.55% 0.0194 -0.116)
OKLCHoklch(23.55% 0.118 279.5)
XYZxyz(2.0814, 1.1064, 8.2858)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180D53 #48530D
analogous
#0D2553 #180D53 #3B0D53
triadic
#180D53 #53180D #0D5318
tetradic
#180D53 #530D25 #48530D #0D533B
square
#180D53 #530D25 #48530D #0D533B
split-complementary
#180D53 #533B0D #25530D
monochromatic
#08041A #09051E #180D53 #271588 #371EBD

Accessibility & contrast

On white

17.19
#180D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#180D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180D53
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180D53#FFFFFF#000000##FFFFFF
##180D531.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001852
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #180d53;
/* rgb */ color: rgb(24, 13, 83);
/* oklch */ color: oklch(23.5% 0.118 279.5);
Tailwind
colors: {
  custom: {
    50: '#5f4d84',
    500: '#180d53',
    950: '#000000',
  },
}
SCSS
$custom: #180d53;
$custom-light: #5f4d84;
$custom-dark: #000000;
JSON
{
  "hex": "#180d53",
  "rgb": {
    "r": 24,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 249.429,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23545,
    "c": 0.11764,
    "h": 279.5
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#180D53
secondary
#7F8E2E
accent
#F038D3
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #180D53

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

Preview Lab → · Contrast checker → · Palette generator →

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