#18203D#18203D

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

Color values

HEX#18203D
RGBrgb(24, 32, 61)
HSLhsl(227, 44%, 17%)
HSVhsv(227, 61%, 24%)
CMYKcmyk(60.7%, 47.5%, 0%, 76.1%)
CIE-LABlab(13.01, 6.62, -19.76)
CIE-LCHlch(13.01, 20.84, 288.51°)
OKLaboklab(25.25% 0.0004 -0.056)
OKLCHoklch(25.25% 0.056 270.4)
XYZxyz(1.7352, 1.5640, 4.6244)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18203D #3D3518
analogous
#18333D #18203D #23183D
triadic
#18203D #3D1820 #203D18
tetradic
#18203D #3D1833 #3D3518 #183D23
square
#18203D #3D1833 #3D3518 #183D23
split-complementary
#18203D #3D2318 #333D18
monochromatic
#090C16 #090C16 #18203D #293769 #3B4E95

Accessibility & contrast

On white

16.00
#18203D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18203D
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18203D#FFFFFF#000000##FFFFFF
##18203D1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14233E
Deuteranopia (green-blind)
#10203C
Tritanopia (blue-blind)
#07262B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #18203d;
/* rgb */ color: rgb(24, 32, 61);
/* oklch */ color: oklch(25.2% 0.056 270.4);
Tailwind
colors: {
  custom: {
    50: '#585b72',
    500: '#18203d',
    950: '#000000',
  },
}
SCSS
$custom: #18203d;
$custom-light: #585b72;
$custom-dark: #000000;
JSON
{
  "hex": "#18203d",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 61
  },
  "hsl": {
    "h": 227.027,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25247,
    "c": 0.05605,
    "h": 270.4
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#18203D
secondary
#73683D
accent
#B855D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #18203D

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

Preview Lab → · Contrast checker → · Palette generator →

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