#18205A#18205A

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

Color values

HEX#18205A
RGBrgb(24, 32, 90)
HSLhsl(233, 58%, 22%)
HSVhsv(233, 73%, 35%)
CMYKcmyk(73.3%, 64.4%, 0%, 64.7%)
CIE-LABlab(15.30, 18.35, -35.98)
CIE-LCHlch(15.30, 40.39, 297.02°)
OKLaboklab(27.71% 0.0033 -0.1037)
OKLCHoklch(27.71% 0.104 271.8)
XYZxyz(2.7380, 1.9651, 9.9059)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18205A #5A5218
analogous
#18415A #18205A #31185A
triadic
#18205A #5A1820 #205A18
tetradic
#18205A #5A1841 #5A5218 #185A31
square
#18205A #5A1841 #5A5218 #185A31
split-complementary
#18205A #5A3118 #415A18
monochromatic
#060918 #0B0F2A #18205A #25318A #3242BB

Accessibility & contrast

On white

15.08
#18205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#18205A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18205A
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18205A#FFFFFF#000000##FFFFFF
##18205A1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#002359
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18205a;
/* rgb */ color: rgb(24, 32, 90);
/* oklch */ color: oklch(27.7% 0.104 271.8);
Tailwind
colors: {
  custom: {
    50: '#5f5b89',
    500: '#18205a',
    950: '#000000',
  },
}
SCSS
$custom: #18205a;
$custom-light: #5f5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#18205a",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 232.727,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27706,
    "c": 0.10377,
    "h": 271.8
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#18205A
secondary
#91863D
accent
#CE47E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #18205A

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

Preview Lab → · Contrast checker → · Palette generator →

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