#18495D#18495D

#18495D is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.2% C 0.062 H 228.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#18495D
RGBrgb(24, 73, 93)
HSLhsl(197, 59%, 23%)
HSVhsv(197, 74%, 36%)
CMYKcmyk(74.2%, 21.5%, 0%, 63.5%)
CIE-LABlab(28.77, -9.01, -16.56)
CIE-LCHlch(28.77, 18.85, 241.45°)
OKLaboklab(38.21% -0.0406 -0.0464)
OKLCHoklch(38.21% 0.062 228.8)
XYZxyz(4.7342, 5.7491, 11.2140)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18495D #5D2C18
analogous
#185D4E #18495D #18275D
triadic
#18495D #5D1849 #495D18
tetradic
#18495D #4E185D #5D2C18 #275D18
square
#18495D #4E185D #5D2C18 #275D18
split-complementary
#18495D #5D1827 #5D4E18
monochromatic
#061318 #0B232C #18495D #256F8E #3195BE

Accessibility & contrast

On white

9.77
#18495D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18495D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18495D#FFFFFF#000000##FFFFFF
##18495D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485E
Deuteranopia (green-blind)
#35415D
Tritanopia (blue-blind)
#004F50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #18495d;
/* rgb */ color: rgb(24, 73, 93);
/* oklch */ color: oklch(38.2% 0.062 228.8);
Tailwind
colors: {
  custom: {
    50: '#5f7b8b',
    500: '#18495d',
    950: '#000000',
  },
}
SCSS
$custom: #18495d;
$custom-light: #5f7b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18495d",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 93
  },
  "hsl": {
    "h": 197.391,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.38214,
    "c": 0.06166,
    "h": 228.8
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#18495D
secondary
#93563D
accent
#7346E2
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #18495D

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

Preview Lab → · Contrast checker → · Palette generator →

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