#180D55#180D55

#180D55 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.8% C 0.120 H 279.0°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#180D55
RGBrgb(24, 13, 85)
HSLhsl(249, 73%, 19%)
HSVhsv(249, 85%, 33%)
CMYKcmyk(71.8%, 84.7%, 0%, 66.7%)
CIE-LABlab(10.09, 29.17, -41.16)
CIE-LCHlch(10.09, 50.44, 305.32°)
OKLaboklab(23.79% 0.0188 -0.1188)
OKLCHoklch(23.79% 0.12 279)
XYZxyz(2.1598, 1.1377, 8.6984)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180D55 #4A550D
analogous
#0D2655 #180D55 #3C0D55
triadic
#180D55 #55180D #0D5518
tetradic
#180D55 #550D26 #4A550D #0D553C
square
#180D55 #550D26 #4A550D #0D553C
split-complementary
#180D55 #553C0D #26550D
monochromatic
#07041B #090520 #180D55 #27158A #361DBF

Accessibility & contrast

On white

17.11
#180D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#180D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180D55
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180D55#FFFFFF#000000##FFFFFF
##180D551.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E57
Deuteranopia (green-blind)
#001954
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #180d55;
/* rgb */ color: rgb(24, 13, 85);
/* oklch */ color: oklch(23.8% 0.120 279.0);
Tailwind
colors: {
  custom: {
    50: '#604e86',
    500: '#180d55',
    950: '#000000',
  },
}
SCSS
$custom: #180d55;
$custom-light: #604e86;
$custom-dark: #000000;
JSON
{
  "hex": "#180d55",
  "rgb": {
    "r": 24,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 249.167,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23786,
    "c": 0.12032,
    "h": 279
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#180D55
secondary
#81902E
accent
#F038D4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #180D55

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

Preview Lab → · Contrast checker → · Palette generator →

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