#181537#181537

#181537 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.064 H 283.8°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#181537
RGBrgb(24, 21, 55)
HSLhsl(245, 45%, 15%)
HSVhsv(245, 62%, 22%)
CMYKcmyk(56.4%, 61.8%, 0%, 78.4%)
CIE-LABlab(9.04, 12.67, -21.82)
CIE-LCHlch(9.04, 25.23, 300.13°)
OKLaboklab(22.1% 0.0153 -0.0622)
OKLCHoklch(22.1% 0.064 283.8)
XYZxyz(1.3342, 1.0063, 3.7376)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181537 #343715
analogous
#152337 #181537 #291537
triadic
#181537 #371815 #153718
tetradic
#181537 #371523 #343715 #153729
square
#181537 #371523 #343715 #153729
split-complementary
#181537 #372915 #233715
monochromatic
#0A0816 #0A0816 #181537 #2B2663 #3F3790

Accessibility & contrast

On white

17.48
#181537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#181537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181537
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181537#FFFFFF#000000##FFFFFF
##1815371.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B38
Deuteranopia (green-blind)
#041836
Tritanopia (blue-blind)
#0D1C23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #181537;
/* rgb */ color: rgb(24, 21, 55);
/* oklch */ color: oklch(22.1% 0.064 283.8);
Tailwind
colors: {
  custom: {
    50: '#58526e',
    500: '#181537',
    950: '#000000',
  },
}
SCSS
$custom: #181537;
$custom-light: #58526e;
$custom-dark: #000000;
JSON
{
  "hex": "#181537",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 245.294,
    "s": 44.737,
    "l": 14.902
  },
  "oklch": {
    "l": 0.221,
    "c": 0.06405,
    "h": 283.8
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#181537
secondary
#6A6E3A
accent
#D453C9
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #181537

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

Preview Lab → · Contrast checker → · Palette generator →

#181537 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva