#181737#181737

#181737 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.061 H 281.8°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#181737
RGBrgb(24, 23, 55)
HSLhsl(242, 41%, 15%)
HSVhsv(242, 58%, 22%)
CMYKcmyk(56.4%, 58.2%, 0%, 78.4%)
CIE-LABlab(9.66, 11.14, -20.83)
CIE-LCHlch(9.66, 23.62, 298.15°)
OKLaboklab(22.56% 0.0124 -0.0593)
OKLCHoklch(22.56% 0.061 281.8)
XYZxyz(1.3725, 1.0827, 3.7504)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181737 #363717
analogous
#172637 #181737 #281737
triadic
#181737 #371817 #173718
tetradic
#181737 #371726 #363717 #173728
square
#181737 #371726 #363717 #173728
split-complementary
#181737 #372817 #263717
monochromatic
#090916 #090916 #181737 #2B2962 #3E3B8D

Accessibility & contrast

On white

17.26
#181737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#181737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181737
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181737#FFFFFF#000000##FFFFFF
##1817371.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C38
Deuteranopia (green-blind)
#071A36
Tritanopia (blue-blind)
#0D1E24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181737;
/* rgb */ color: rgb(24, 23, 55);
/* oklch */ color: oklch(22.6% 0.061 281.8);
Tailwind
colors: {
  custom: {
    50: '#57536e',
    500: '#181737',
    950: '#000000',
  },
}
SCSS
$custom: #181737;
$custom-light: #57536e;
$custom-dark: #000000;
JSON
{
  "hex": "#181737",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 55
  },
  "hsl": {
    "h": 241.875,
    "s": 41.026,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22564,
    "c": 0.06054,
    "h": 281.8
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#181737
secondary
#6C6D3D
accent
#D157CD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #181737

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

Preview Lab → · Contrast checker → · Palette generator →

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