#18355D#18355D

#18355D is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.9% C 0.079 H 257.0°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#18355D
RGBrgb(24, 53, 93)
HSLhsl(215, 59%, 23%)
HSVhsv(215, 74%, 36%)
CMYKcmyk(74.2%, 43%, 0%, 63.5%)
CIE-LABlab(22.05, 4.28, -27.10)
CIE-LCHlch(22.05, 27.43, 278.97°)
OKLaboklab(32.92% -0.0178 -0.0772)
OKLCHoklch(32.92% 0.079 257)
XYZxyz(3.6249, 3.5303, 10.8442)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18355D #5D4018
analogous
#18575D #18355D #1E185D
triadic
#18355D #5D1835 #355D18
tetradic
#18355D #5D1857 #5D4018 #185D1E
square
#18355D #5D1857 #5D4018 #185D1E
split-complementary
#18355D #5D1E18 #575D18
monochromatic
#060E18 #0B192C #18355D #25518E #316CBE

Accessibility & contrast

On white

12.31
#18355D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#18355D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18355D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18355D#FFFFFF#000000##FFFFFF
##18355D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385F
Deuteranopia (green-blind)
#18325C
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #18355d;
/* rgb */ color: rgb(24, 53, 93);
/* oklch */ color: oklch(32.9% 0.079 257.0);
Tailwind
colors: {
  custom: {
    50: '#5e6b8b',
    500: '#18355d',
    950: '#000000',
  },
}
SCSS
$custom: #18355d;
$custom-light: #5e6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18355d",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 93
  },
  "hsl": {
    "h": 214.783,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32916,
    "c": 0.07927,
    "h": 257
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#18355D
secondary
#936F3D
accent
#A046E2
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #18355D

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

Preview Lab → · Contrast checker → · Palette generator →

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