#18475F#18475F

#18475F is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 37.8% C 0.065 H 234.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#18475F
RGBrgb(24, 71, 95)
HSLhsl(200, 60%, 23%)
HSVhsv(200, 75%, 37%)
CMYKcmyk(74.7%, 25.3%, 0%, 62.7%)
CIE-LABlab(28.18, -7.00, -18.75)
CIE-LCHlch(28.18, 20.01, 249.53°)
OKLaboklab(37.78% -0.0375 -0.0527)
OKLCHoklch(37.78% 0.065 234.6)
XYZxyz(4.6947, 5.5264, 11.6435)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18475F #5F3018
analogous
#185F53 #18475F #18235F
triadic
#18475F #5F1847 #475F18
tetradic
#18475F #53185F #5F3018 #235F18
square
#18475F #53185F #5F3018 #235F18
split-complementary
#18475F #5F1823 #5F5318
monochromatic
#061218 #0C222E #18475F #246C90 #3190C1

Accessibility & contrast

On white

9.97
#18475F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#18475F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18475F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18475F#FFFFFF#000000##FFFFFF
##18475F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4660
Deuteranopia (green-blind)
#323F5F
Tritanopia (blue-blind)
#004D4F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #18475f;
/* rgb */ color: rgb(24, 71, 95);
/* oklch */ color: oklch(37.8% 0.065 234.6);
Tailwind
colors: {
  custom: {
    50: '#5f7a8c',
    500: '#18475f',
    950: '#000000',
  },
}
SCSS
$custom: #18475f;
$custom-light: #5f7a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18475f",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 200.282,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.37779,
    "c": 0.06469,
    "h": 234.6
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#18475F
secondary
#955B3D
accent
#7A45E3
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #18475F

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

Preview Lab → · Contrast checker → · Palette generator →

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