#18205B#18205B

#18205B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.105 H 271.8°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#18205B
RGBrgb(24, 32, 91)
HSLhsl(233, 58%, 23%)
HSVhsv(233, 74%, 36%)
CMYKcmyk(73.6%, 64.8%, 0%, 64.3%)
CIE-LABlab(15.39, 18.75, -36.50)
CIE-LCHlch(15.39, 41.04, 297.19°)
OKLaboklab(27.8% 0.0032 -0.1052)
OKLCHoklch(27.8% 0.105 271.8)
XYZxyz(2.7809, 1.9823, 10.1316)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18205B #5B5318
analogous
#18415B #18205B #32185B
triadic
#18205B #5B1820 #205B18
tetradic
#18205B #5B1841 #5B5318 #185B32
square
#18205B #5B1841 #5B5318 #185B32
split-complementary
#18205B #5B3218 #415B18
monochromatic
#060918 #0B0F2B #18205B #25318B #3242BC

Accessibility & contrast

On white

15.04
#18205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18205B
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18205B#FFFFFF#000000##FFFFFF
##18205B1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18205b;
/* rgb */ color: rgb(24, 32, 91);
/* oklch */ color: oklch(27.8% 0.105 271.8);
Tailwind
colors: {
  custom: {
    50: '#5f5b8a',
    500: '#18205b',
    950: '#000000',
  },
}
SCSS
$custom: #18205b;
$custom-light: #5f5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#18205b",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 232.836,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27802,
    "c": 0.1053,
    "h": 271.8
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#18205B
secondary
#92873D
accent
#CF46E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #18205B

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

Preview Lab → · Contrast checker → · Palette generator →

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