#18405A#18405A

#18405A is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.6% C 0.064 H 240.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#18405A
RGBrgb(24, 64, 90)
HSLhsl(204, 58%, 22%)
HSVhsv(204, 73%, 35%)
CMYKcmyk(73.3%, 28.9%, 0%, 64.7%)
CIE-LABlab(25.56, -4.43, -19.61)
CIE-LCHlch(25.56, 20.10, 257.28°)
OKLaboklab(35.61% -0.0313 -0.0552)
OKLCHoklch(35.61% 0.064 240.4)
XYZxyz(4.0548, 4.5987, 10.3448)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18405A #5A3218
analogous
#185A53 #18405A #181F5A
triadic
#18405A #5A1840 #405A18
tetradic
#18405A #53185A #5A3218 #1F5A18
square
#18405A #53185A #5A3218 #1F5A18
split-complementary
#18405A #5A181F #5A5318
monochromatic
#061118 #0B1E2A #18405A #25628A #3285BB

Accessibility & contrast

On white

10.94
#18405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#18405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18405A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18405A#FFFFFF#000000##FFFFFF
##18405A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34405B
Deuteranopia (green-blind)
#2B3A5A
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18405a;
/* rgb */ color: rgb(24, 64, 90);
/* oklch */ color: oklch(35.6% 0.064 240.4);
Tailwind
colors: {
  custom: {
    50: '#5e7488',
    500: '#18405a',
    950: '#000000',
  },
}
SCSS
$custom: #18405a;
$custom-light: #5e7488;
$custom-dark: #000000;
JSON
{
  "hex": "#18405a",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 203.636,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.06351,
    "h": 240.4
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#18405A
secondary
#915E3D
accent
#8447E1
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #18405A

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

Preview Lab → · Contrast checker → · Palette generator →

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