#180D56#180D56

#180D56 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 23.9% C 0.122 H 278.7°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#180D56
RGBrgb(24, 13, 86)
HSLhsl(249, 74%, 19%)
HSVhsv(249, 85%, 34%)
CMYKcmyk(72.1%, 84.9%, 0%, 66.3%)
CIE-LABlab(10.21, 29.51, -41.63)
CIE-LCHlch(10.21, 51.03, 305.33°)
OKLaboklab(23.91% 0.0185 -0.1202)
OKLCHoklch(23.91% 0.122 278.7)
XYZxyz(2.1998, 1.1537, 8.9091)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180D56 #4B560D
analogous
#0D2756 #180D56 #3D0D56
triadic
#180D56 #56180D #0D5618
tetradic
#180D56 #560D27 #4B560D #0D563D
square
#180D56 #560D27 #4B560D #0D563D
split-complementary
#180D56 #563D0D #27560D
monochromatic
#07041B #090521 #180D56 #27158B #361DC0

Accessibility & contrast

On white

17.06
#180D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180D56
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180D56#FFFFFF#000000##FFFFFF
##180D561.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180d56;
/* rgb */ color: rgb(24, 13, 86);
/* oklch */ color: oklch(23.9% 0.122 278.7);
Tailwind
colors: {
  custom: {
    50: '#604e87',
    500: '#180d56',
    950: '#000000',
  },
}
SCSS
$custom: #180d56;
$custom-light: #604e87;
$custom-dark: #000000;
JSON
{
  "hex": "#180d56",
  "rgb": {
    "r": 24,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 249.041,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23907,
    "c": 0.12166,
    "h": 278.7
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#180D56
secondary
#82912E
accent
#F037D5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #180D56

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

Preview Lab → · Contrast checker → · Palette generator →

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