#18205C#18205C

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

Color values

HEX#18205C
RGBrgb(24, 32, 92)
HSLhsl(233, 59%, 23%)
HSVhsv(233, 74%, 36%)
CMYKcmyk(73.9%, 65.2%, 0%, 63.9%)
CIE-LABlab(15.49, 19.15, -37.02)
CIE-LCHlch(15.49, 41.68, 297.36°)
OKLaboklab(27.9% 0.0032 -0.1068)
OKLCHoklch(27.9% 0.107 271.7)
XYZxyz(2.8243, 1.9997, 10.3603)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18205C #5C5418
analogous
#18425C #18205C #32185C
triadic
#18205C #5C1820 #205C18
tetradic
#18205C #5C1842 #5C5418 #185C32
square
#18205C #5C1842 #5C5418 #185C32
split-complementary
#18205C #5C3218 #425C18
monochromatic
#060818 #0B0F2B #18205C #25318D #3142BD

Accessibility & contrast

On white

15.00
#18205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18205C
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18205C#FFFFFF#000000##FFFFFF
##18205C1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18205c;
/* rgb */ color: rgb(24, 32, 92);
/* oklch */ color: oklch(27.9% 0.107 271.7);
Tailwind
colors: {
  custom: {
    50: '#5f5b8b',
    500: '#18205c',
    950: '#000000',
  },
}
SCSS
$custom: #18205c;
$custom-light: #5f5b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18205c",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 232.941,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27898,
    "c": 0.10682,
    "h": 271.7
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#18205C
secondary
#93893D
accent
#CF46E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #18205C

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

Preview Lab → · Contrast checker → · Palette generator →

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