#181535#181535

#181535 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.061 H 284.5°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#181535
RGBrgb(24, 21, 53)
HSLhsl(246, 43%, 15%)
HSVhsv(246, 60%, 21%)
CMYKcmyk(54.7%, 60.4%, 0%, 79.2%)
CIE-LABlab(8.89, 11.91, -20.62)
CIE-LCHlch(8.89, 23.82, 300.01°)
OKLaboklab(21.93% 0.0152 -0.0587)
OKLCHoklch(21.93% 0.061 284.5)
XYZxyz(1.2873, 0.9875, 3.4902)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181535 #323515
analogous
#152235 #181535 #281535
triadic
#181535 #351815 #153518
tetradic
#181535 #351522 #323515 #153528
square
#181535 #351522 #323515 #153528
split-complementary
#181535 #352815 #223515
monochromatic
#0A0916 #0A0916 #181535 #2C2661 #40388D

Accessibility & contrast

On white

17.54
#181535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181535
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181535#FFFFFF#000000##FFFFFF
##1815351.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A36
Deuteranopia (green-blind)
#061834
Tritanopia (blue-blind)
#0E1C22
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #181535;
/* rgb */ color: rgb(24, 21, 53);
/* oklch */ color: oklch(21.9% 0.061 284.5);
Tailwind
colors: {
  custom: {
    50: '#57526c',
    500: '#181535',
    950: '#000000',
  },
}
SCSS
$custom: #181535;
$custom-light: #57526c;
$custom-dark: #000000;
JSON
{
  "hex": "#181535",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 245.625,
    "s": 43.243,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21933,
    "c": 0.06059,
    "h": 284.5
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#181535
secondary
#676C3A
accent
#D355C7
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030207
muted
#78787A

Preview Lab

Preview with #181535

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

Preview Lab → · Contrast checker → · Palette generator →

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