#18495F#18495F

#18495F is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.3% C 0.064 H 231.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#18495F
RGBrgb(24, 73, 95)
HSLhsl(199, 60%, 23%)
HSVhsv(199, 75%, 37%)
CMYKcmyk(74.7%, 23.2%, 0%, 62.7%)
CIE-LABlab(28.86, -8.25, -17.70)
CIE-LCHlch(28.86, 19.53, 244.99°)
OKLaboklab(38.32% -0.0398 -0.0497)
OKLCHoklch(38.32% 0.064 231.3)
XYZxyz(4.8240, 5.7850, 11.6866)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18495F #5F2E18
analogous
#185F51 #18495F #18255F
triadic
#18495F #5F1849 #495F18
tetradic
#18495F #51185F #5F2E18 #255F18
square
#18495F #51185F #5F2E18 #255F18
split-complementary
#18495F #5F1825 #5F5118
monochromatic
#061318 #0C232E #18495F #246F90 #3194C1

Accessibility & contrast

On white

9.73
#18495F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#18495F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18495F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18495F#FFFFFF#000000##FFFFFF
##18495F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#34415F
Tritanopia (blue-blind)
#004F50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #18495f;
/* rgb */ color: rgb(24, 73, 95);
/* oklch */ color: oklch(38.3% 0.064 231.3);
Tailwind
colors: {
  custom: {
    50: '#5f7b8c',
    500: '#18495f',
    950: '#000000',
  },
}
SCSS
$custom: #18495f;
$custom-light: #5f7b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18495f",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 95
  },
  "hsl": {
    "h": 198.592,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.38319,
    "c": 0.06364,
    "h": 231.3
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#18495F
secondary
#95593D
accent
#7645E3
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #18495F

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

Preview Lab → · Contrast checker → · Palette generator →

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