#18183B#18183B

#18183B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.066 H 279.9°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#18183B
RGBrgb(24, 24, 59)
HSLhsl(240, 42%, 16%)
HSVhsv(240, 59%, 23%)
CMYKcmyk(59.3%, 59.3%, 0%, 76.9%)
CIE-LABlab(10.28, 11.92, -22.70)
CIE-LCHlch(10.28, 25.64, 297.70°)
OKLaboklab(23.13% 0.0114 -0.0648)
OKLCHoklch(23.13% 0.066 279.9)
XYZxyz(1.4925, 1.1631, 4.2827)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18183B #3B3B18
analogous
#182A3B #18183B #2A183B
triadic
#18183B #3B1818 #183B18
tetradic
#18183B #3B182A #3B3B18 #183B2A
square
#18183B #3B182A #3B3B18 #183B2A
split-complementary
#18183B #3B2A18 #2A3B18
monochromatic
#090916 #090916 #18183B #2A2A67 #3B3B92

Accessibility & contrast

On white

17.04
#18183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18183B
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18183B#FFFFFF#000000##FFFFFF
##18183B1.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3C
Deuteranopia (green-blind)
#041B3A
Tritanopia (blue-blind)
#0A2026
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #18183b;
/* rgb */ color: rgb(24, 24, 59);
/* oklch */ color: oklch(23.1% 0.066 279.9);
Tailwind
colors: {
  custom: {
    50: '#585471',
    500: '#18183b',
    950: '#000000',
  },
}
SCSS
$custom: #18183b;
$custom-light: #585471;
$custom-dark: #000000;
JSON
{
  "hex": "#18183b",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 240,
    "s": 42.169,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23129,
    "c": 0.06575,
    "h": 279.9
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#18183B
secondary
#71713E
accent
#D256D2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #18183B

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

Preview Lab → · Contrast checker → · Palette generator →

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