#18203B#18203B

#18203B is a dark, muted blue. Relative luminance 0.015; OKLCH L 25.1% C 0.053 H 269.9°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#18203B
RGBrgb(24, 32, 59)
HSLhsl(226, 42%, 16%)
HSVhsv(226, 59%, 23%)
CMYKcmyk(59.3%, 45.8%, 0%, 76.9%)
CIE-LABlab(12.88, 5.83, -18.56)
CIE-LCHlch(12.88, 19.45, 287.44°)
OKLaboklab(25.1% -0.0001 -0.0525)
OKLCHoklch(25.1% 0.053 269.9)
XYZxyz(1.6824, 1.5429, 4.3460)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18203B #3B3318
analogous
#18323B #18203B #22183B
triadic
#18203B #3B1820 #203B18
tetradic
#18203B #3B1832 #3B3318 #183B22
square
#18203B #3B1832 #3B3318 #183B22
split-complementary
#18203B #3B2218 #323B18
monochromatic
#090C16 #090C16 #18203B #2A3867 #3B4F92

Accessibility & contrast

On white

16.05
#18203B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18203B
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18203B#FFFFFF#000000##FFFFFF
##18203B1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18203b;
/* rgb */ color: rgb(24, 32, 59);
/* oklch */ color: oklch(25.1% 0.053 269.9);
Tailwind
colors: {
  custom: {
    50: '#585b71',
    500: '#18203b',
    950: '#000000',
  },
}
SCSS
$custom: #18203b;
$custom-light: #585b71;
$custom-dark: #000000;
JSON
{
  "hex": "#18203b",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 59
  },
  "hsl": {
    "h": 226.286,
    "s": 42.169,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25103,
    "c": 0.05253,
    "h": 269.9
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#18203B
secondary
#71653E
accent
#B656D2
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #18203B

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

Preview Lab → · Contrast checker → · Palette generator →

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