#18487B#18487B

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

Color values

HEX#18487B
RGBrgb(24, 72, 123)
HSLhsl(211, 67%, 29%)
HSVhsv(211, 80%, 48%)
CMYKcmyk(80.5%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.05, 3.49, -33.55)
CIE-LCHlch(30.05, 33.73, 275.95°)
OKLaboklab(39.76% -0.0295 -0.0958)
OKLCHoklch(39.76% 0.1 252.9)
XYZxyz(6.2679, 6.2582, 19.6127)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18487B #7B4B18
analogous
#187A7B #18487B #1A187B
triadic
#18487B #7B1848 #487B18
tetradic
#18487B #7B187A #7B4B18 #187B1A
square
#18487B #7B187A #7B4B18 #187B1A
split-complementary
#18487B #7B1A18 #7A7B18
monochromatic
#050F1A #0E2A48 #18487B #2266AE #3684D8

Accessibility & contrast

On white

9.33
#18487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#18487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18487B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18487B#FFFFFF#000000##FFFFFF
##18487B1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#1F437A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18487b;
/* rgb */ color: rgb(24, 72, 123);
/* oklch */ color: oklch(39.8% 0.100 252.9);
Tailwind
colors: {
  custom: {
    50: '#657aa1',
    500: '#18487b',
    950: '#000000',
  },
}
SCSS
$custom: #18487b;
$custom-light: #657aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#18487b",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 210.909,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.10025,
    "h": 252.9
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#18487B
secondary
#B0793F
accent
#973EEA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090F
muted
#7A7B7E

Preview Lab

Preview with #18487B

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

Preview Lab → · Contrast checker → · Palette generator →

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