#18183C#18183C

#18183C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.067 H 279.8°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#18183C
RGBrgb(24, 24, 60)
HSLhsl(240, 43%, 16%)
HSVhsv(240, 60%, 24%)
CMYKcmyk(60%, 60%, 0%, 76.5%)
CIE-LABlab(10.36, 12.31, -23.29)
CIE-LCHlch(10.36, 26.34, 297.86°)
OKLaboklab(23.21% 0.0115 -0.0665)
OKLCHoklch(23.21% 0.067 279.8)
XYZxyz(1.5187, 1.1736, 4.4206)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18183C #3C3C18
analogous
#182A3C #18183C #2A183C
triadic
#18183C #3C1818 #183C18
tetradic
#18183C #3C182A #3C3C18 #183C2A
square
#18183C #3C182A #3C3C18 #183C2A
split-complementary
#18183C #3C2A18 #2A3C18
monochromatic
#090916 #090916 #18183C #292968 #3B3B93

Accessibility & contrast

On white

17.01
#18183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#18183C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18183C
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18183C#FFFFFF#000000##FFFFFF
##18183C1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3D
Deuteranopia (green-blind)
#031B3B
Tritanopia (blue-blind)
#092027
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #18183c;
/* rgb */ color: rgb(24, 24, 60);
/* oklch */ color: oklch(23.2% 0.067 279.8);
Tailwind
colors: {
  custom: {
    50: '#585472',
    500: '#18183c',
    950: '#000000',
  },
}
SCSS
$custom: #18183c;
$custom-light: #585472;
$custom-dark: #000000;
JSON
{
  "hex": "#18183c",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23213,
    "c": 0.06746,
    "h": 279.8
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#18183C
secondary
#72723E
accent
#D355D3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #18183C

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

Preview Lab → · Contrast checker → · Palette generator →

#18183C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva