#18203C#18203C

#18203C is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.2% C 0.054 H 270.1°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#18203C
RGBrgb(24, 32, 60)
HSLhsl(227, 43%, 16%)
HSVhsv(227, 60%, 24%)
CMYKcmyk(60%, 46.7%, 0%, 76.5%)
CIE-LABlab(12.94, 6.22, -19.16)
CIE-LCHlch(12.94, 20.15, 287.99°)
OKLaboklab(25.17% 0.0001 -0.0543)
OKLCHoklch(25.17% 0.054 270.1)
XYZxyz(1.7085, 1.5533, 4.4839)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18203C #3C3418
analogous
#18323C #18203C #22183C
triadic
#18203C #3C1820 #203C18
tetradic
#18203C #3C1832 #3C3418 #183C22
square
#18203C #3C1832 #3C3418 #183C22
split-complementary
#18203C #3C2218 #323C18
monochromatic
#090C16 #090C16 #18203C #293768 #3B4F93

Accessibility & contrast

On white

16.02
#18203C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#18203C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18203C
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18203C#FFFFFF#000000##FFFFFF
##18203C1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233D
Deuteranopia (green-blind)
#11203B
Tritanopia (blue-blind)
#08262B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #18203c;
/* rgb */ color: rgb(24, 32, 60);
/* oklch */ color: oklch(25.2% 0.054 270.1);
Tailwind
colors: {
  custom: {
    50: '#585b72',
    500: '#18203c',
    950: '#000000',
  },
}
SCSS
$custom: #18203c;
$custom-light: #585b72;
$custom-dark: #000000;
JSON
{
  "hex": "#18203c",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 60
  },
  "hsl": {
    "h": 226.667,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25174,
    "c": 0.0543,
    "h": 270.1
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#18203C
secondary
#72673E
accent
#B755D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #18203C

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

Preview Lab → · Contrast checker → · Palette generator →

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