#18202E#18202E

#18202E is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.3% C 0.029 H 261.4°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#18202E
RGBrgb(24, 32, 46)
HSLhsl(218, 31%, 14%)
HSVhsv(218, 48%, 18%)
CMYKcmyk(47.8%, 30.4%, 0%, 82%)
CIE-LABlab(12.12, 0.96, -10.45)
CIE-LCHlch(12.12, 10.50, 275.23°)
OKLaboklab(24.27% -0.0044 -0.0291)
OKLCHoklch(24.27% 0.029 261.4)
XYZxyz(1.3862, 1.4244, 2.7861)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18202E #2E2618
analogous
#182B2E #18202E #1B182E
triadic
#18202E #2E1820 #202E18
tetradic
#18202E #2E182B #2E2618 #182E1B
square
#18202E #2E182B #2E2618 #182E1B
split-complementary
#18202E #2E1B18 #2B2E18
monochromatic
#0A0E14 #0A0E14 #18202E #2D3C56 #42587E

Accessibility & contrast

On white

16.34
#18202E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#18202E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18202E
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18202E#FFFFFF#000000##FFFFFF
##18202E1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B212F
Deuteranopia (green-blind)
#191F2E
Tritanopia (blue-blind)
#112325
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #18202e;
/* rgb */ color: rgb(24, 32, 46);
/* oklch */ color: oklch(24.3% 0.029 261.4);
Tailwind
colors: {
  custom: {
    50: '#565b66',
    500: '#18202e',
    950: '#000000',
  },
}
SCSS
$custom: #18202e;
$custom-light: #565b66;
$custom-dark: #000000;
JSON
{
  "hex": "#18202e",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 46
  },
  "hsl": {
    "h": 218.182,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24265,
    "c": 0.02939,
    "h": 261.4
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#18202E
secondary
#63563F
accent
#A260C8
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030406
muted
#78797A

Preview Lab

Preview with #18202E

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

Preview Lab → · Contrast checker → · Palette generator →

#18202E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva