#18495C#18495C

#18495C is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.2% C 0.061 H 227.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#18495C
RGBrgb(24, 73, 92)
HSLhsl(197, 59%, 23%)
HSVhsv(197, 74%, 36%)
CMYKcmyk(73.9%, 20.7%, 0%, 63.9%)
CIE-LABlab(28.72, -9.38, -15.99)
CIE-LCHlch(28.72, 18.54, 239.59°)
OKLaboklab(38.16% -0.0411 -0.0448)
OKLCHoklch(38.16% 0.061 227.5)
XYZxyz(4.6902, 5.7315, 10.9822)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18495C #5C2B18
analogous
#185C4D #18495C #18275C
triadic
#18495C #5C1849 #495C18
tetradic
#18495C #4D185C #5C2B18 #275C18
square
#18495C #4D185C #5C2B18 #275C18
split-complementary
#18495C #5C1827 #5C4D18
monochromatic
#061318 #0B222B #18495C #25708D #3196BD

Accessibility & contrast

On white

9.78
#18495C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#18495C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18495C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18495C#FFFFFF#000000##FFFFFF
##18495C1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485D
Deuteranopia (green-blind)
#36415C
Tritanopia (blue-blind)
#004E4F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #18495c;
/* rgb */ color: rgb(24, 73, 92);
/* oklch */ color: oklch(38.2% 0.061 227.5);
Tailwind
colors: {
  custom: {
    50: '#5f7b8a',
    500: '#18495c',
    950: '#000000',
  },
}
SCSS
$custom: #18495c;
$custom-light: #5f7b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#18495c",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 92
  },
  "hsl": {
    "h": 196.765,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.06073,
    "h": 227.5
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#18495C
secondary
#93553D
accent
#7246E2
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090B
muted
#797B7C

Preview Lab

Preview with #18495C

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

Preview Lab → · Contrast checker → · Palette generator →

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