#18487C#18487C

#18487C is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.102 H 253.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#18487C
RGBrgb(24, 72, 124)
HSLhsl(211, 68%, 29%)
HSVhsv(211, 81%, 49%)
CMYKcmyk(80.6%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.12, 3.90, -34.07)
CIE-LCHlch(30.12, 34.29, 276.53°)
OKLaboklab(39.83% -0.0292 -0.0974)
OKLCHoklch(39.83% 0.102 253.3)
XYZxyz(6.3308, 6.2834, 19.9440)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18487C #7C4C18
analogous
#187A7C #18487C #1A187C
triadic
#18487C #7C1848 #487C18
tetradic
#18487C #7C187A #7C4C18 #187C1A
square
#18487C #7C187A #7C4C18 #187C1A
split-complementary
#18487C #7C1A18 #7A7C18
monochromatic
#050F1A #0E2A49 #18487C #2266AF #3684D8

Accessibility & contrast

On white

9.31
#18487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18487C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18487C#FFFFFF#000000##FFFFFF
##18487C1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18487c;
/* rgb */ color: rgb(24, 72, 124);
/* oklch */ color: oklch(39.8% 0.102 253.3);
Tailwind
colors: {
  custom: {
    50: '#657aa2',
    500: '#18487c',
    950: '#000000',
  },
}
SCSS
$custom: #18487c;
$custom-light: #657aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#18487c",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 211.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.10166,
    "h": 253.3
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#18487C
secondary
#B17A3F
accent
#973DEA
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #18487C

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

Preview Lab → · Contrast checker → · Palette generator →

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