#18487E#18487E

#18487E is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 40.0% C 0.104 H 254.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#18487E
RGBrgb(24, 72, 126)
HSLhsl(212, 68%, 29%)
HSVhsv(212, 81%, 49%)
CMYKcmyk(81%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.24, 4.72, -35.12)
CIE-LCHlch(30.24, 35.44, 277.65°)
OKLaboklab(39.96% -0.0287 -0.1004)
OKLCHoklch(39.96% 0.104 254)
XYZxyz(6.4585, 6.3345, 20.6169)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18487E #7E4E18
analogous
#187B7E #18487E #1B187E
triadic
#18487E #7E1848 #487E18
tetradic
#18487E #7E187B #7E4E18 #187E1B
square
#18487E #7E187B #7E4E18 #187E1B
split-complementary
#18487E #7E1B18 #7B7E18
monochromatic
#050F1A #0E2B4B #18487E #2265B1 #3783D9

Accessibility & contrast

On white

9.26
#18487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18487E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18487E#FFFFFF#000000##FFFFFF
##18487E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18487e;
/* rgb */ color: rgb(24, 72, 126);
/* oklch */ color: oklch(40.0% 0.104 254.0);
Tailwind
colors: {
  custom: {
    50: '#667aa4',
    500: '#18487e',
    950: '#000000',
  },
}
SCSS
$custom: #18487e;
$custom-light: #667aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#18487e",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 211.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.10447,
    "h": 254
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#18487E
secondary
#B27C3F
accent
#993DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #18487E

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

Preview Lab → · Contrast checker → · Palette generator →

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