#18205D#18205D

#18205D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.108 H 271.7°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#18205D
RGBrgb(24, 32, 93)
HSLhsl(233, 59%, 23%)
HSVhsv(233, 74%, 36%)
CMYKcmyk(74.2%, 65.6%, 0%, 63.5%)
CIE-LABlab(15.58, 19.56, -37.54)
CIE-LCHlch(15.58, 42.33, 297.52°)
OKLaboklab(27.99% 0.0032 -0.1083)
OKLCHoklch(27.99% 0.108 271.7)
XYZxyz(2.8683, 2.0173, 10.5920)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18205D #5D5518
analogous
#18425D #18205D #32185D
triadic
#18205D #5D1820 #205D18
tetradic
#18205D #5D1842 #5D5518 #185D32
square
#18205D #5D1842 #5D5518 #185D32
split-complementary
#18205D #5D3218 #425D18
monochromatic
#060818 #0B0F2C #18205D #25318E #3141BE

Accessibility & contrast

On white

14.96
#18205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#18205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18205D
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18205D#FFFFFF#000000##FFFFFF
##18205D1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18205d;
/* rgb */ color: rgb(24, 32, 93);
/* oklch */ color: oklch(28.0% 0.108 271.7);
Tailwind
colors: {
  custom: {
    50: '#605b8b',
    500: '#18205d',
    950: '#000000',
  },
}
SCSS
$custom: #18205d;
$custom-light: #605b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18205d",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 233.043,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27995,
    "c": 0.10834,
    "h": 271.7
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#18205D
secondary
#938A3D
accent
#D046E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #18205D

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

Preview Lab → · Contrast checker → · Palette generator →

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