#18203E#18203E

#18203E is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.3% C 0.058 H 270.6°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#18203E
RGBrgb(24, 32, 62)
HSLhsl(227, 44%, 17%)
HSVhsv(227, 61%, 24%)
CMYKcmyk(61.3%, 48.4%, 0%, 75.7%)
CIE-LABlab(13.08, 7.01, -20.36)
CIE-LCHlch(13.08, 21.53, 289.00°)
OKLaboklab(25.32% 0.0006 -0.0578)
OKLCHoklch(25.32% 0.058 270.6)
XYZxyz(1.7624, 1.5749, 4.7676)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18203E #3E3618
analogous
#18333E #18203E #23183E
triadic
#18203E #3E1820 #203E18
tetradic
#18203E #3E1833 #3E3618 #183E23
square
#18203E #3E1833 #3E3618 #183E23
split-complementary
#18203E #3E2318 #333E18
monochromatic
#090B16 #090B16 #18203E #29376A #3A4E96

Accessibility & contrast

On white

15.97
#18203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#18203E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18203E
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18203E#FFFFFF#000000##FFFFFF
##18203E1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233F
Deuteranopia (green-blind)
#0F203D
Tritanopia (blue-blind)
#06272B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #18203e;
/* rgb */ color: rgb(24, 32, 62);
/* oklch */ color: oklch(25.3% 0.058 270.6);
Tailwind
colors: {
  custom: {
    50: '#585b73',
    500: '#18203e',
    950: '#000000',
  },
}
SCSS
$custom: #18203e;
$custom-light: #585b73;
$custom-dark: #000000;
JSON
{
  "hex": "#18203e",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 227.368,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2532,
    "c": 0.0578,
    "h": 270.6
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#18203E
secondary
#74693D
accent
#B954D4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #18203E

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

Preview Lab → · Contrast checker → · Palette generator →

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