#18487D#18487D

#18487D is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.103 H 253.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#18487D
RGBrgb(24, 72, 125)
HSLhsl(211, 68%, 29%)
HSVhsv(211, 81%, 49%)
CMYKcmyk(80.8%, 42.4%, 0%, 51%)
CIE-LABlab(30.18, 4.31, -34.60)
CIE-LCHlch(30.18, 34.86, 277.10°)
OKLaboklab(39.89% -0.029 -0.0989)
OKLCHoklch(39.89% 0.103 253.7)
XYZxyz(6.3943, 6.3088, 20.2788)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18487D #7D4D18
analogous
#187B7D #18487D #1B187D
triadic
#18487D #7D1848 #487D18
tetradic
#18487D #7D187B #7D4D18 #187D1B
square
#18487D #7D187B #7D4D18 #187D1B
split-complementary
#18487D #7D1B18 #7B7D18
monochromatic
#050F1A #0E2A4A #18487D #2266B0 #3784D9

Accessibility & contrast

On white

9.28
#18487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#18487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18487D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18487D#FFFFFF#000000##FFFFFF
##18487D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18487d;
/* rgb */ color: rgb(24, 72, 125);
/* oklch */ color: oklch(39.9% 0.103 253.7);
Tailwind
colors: {
  custom: {
    50: '#667aa3',
    500: '#18487d',
    950: '#000000',
  },
}
SCSS
$custom: #18487d;
$custom-light: #667aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#18487d",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 211.485,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39894,
    "c": 0.10307,
    "h": 253.7
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#18487D
secondary
#B27B3F
accent
#983DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #18487D

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

Preview Lab → · Contrast checker → · Palette generator →

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