#18487F#18487F

#18487F is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.106 H 254.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#18487F
RGBrgb(24, 72, 127)
HSLhsl(212, 68%, 30%)
HSVhsv(212, 81%, 50%)
CMYKcmyk(81.1%, 43.3%, 0%, 50.2%)
CIE-LABlab(30.30, 5.13, -35.64)
CIE-LCHlch(30.30, 36.01, 278.19°)
OKLaboklab(40.03% -0.0285 -0.102)
OKLCHoklch(40.03% 0.106 254.4)
XYZxyz(6.5234, 6.3605, 20.9584)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18487F #7F4F18
analogous
#187C7F #18487F #1C187F
triadic
#18487F #7F1848 #487F18
tetradic
#18487F #7F187C #7F4F18 #187F1C
square
#18487F #7F187C #7F4F18 #187F1C
split-complementary
#18487F #7F1C18 #7C7F18
monochromatic
#050F1A #0E2B4C #18487F #2265B2 #3883D9

Accessibility & contrast

On white

9.24
#18487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#18487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18487F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18487F#FFFFFF#000000##FFFFFF
##18487F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C81
Deuteranopia (green-blind)
#1B437E
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18487f;
/* rgb */ color: rgb(24, 72, 127);
/* oklch */ color: oklch(40.0% 0.106 254.4);
Tailwind
colors: {
  custom: {
    50: '#667aa4',
    500: '#18487f',
    950: '#000000',
  },
}
SCSS
$custom: #18487f;
$custom-light: #667aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#18487f",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 212.039,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40032,
    "c": 0.10588,
    "h": 254.4
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#18487F
secondary
#B37D3F
accent
#9A3DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #18487F

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

Preview Lab → · Contrast checker → · Palette generator →

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