#18477D#18477D

#18477D is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.104 H 254.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#18477D
RGBrgb(24, 71, 125)
HSLhsl(212, 68%, 29%)
HSVhsv(212, 81%, 49%)
CMYKcmyk(80.8%, 43.2%, 0%, 51%)
CIE-LABlab(29.86, 4.99, -35.10)
CIE-LCHlch(29.86, 35.45, 278.08°)
OKLaboklab(39.65% -0.028 -0.1004)
OKLCHoklch(39.65% 0.104 254.4)
XYZxyz(6.3302, 6.1806, 20.2574)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18477D #7D4E18
analogous
#187A7D #18477D #1C187D
triadic
#18477D #7D1847 #477D18
tetradic
#18477D #7D187A #7D4E18 #187D1C
square
#18477D #7D187A #7D4E18 #187D1C
split-complementary
#18477D #7D1C18 #7A7D18
monochromatic
#050F1A #0E2A4A #18477D #2264B0 #3782D9

Accessibility & contrast

On white

9.39
#18477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#18477D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18477D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18477D#FFFFFF#000000##FFFFFF
##18477D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18477d;
/* rgb */ color: rgb(24, 71, 125);
/* oklch */ color: oklch(39.6% 0.104 254.4);
Tailwind
colors: {
  custom: {
    50: '#6679a3',
    500: '#18477d',
    950: '#000000',
  },
}
SCSS
$custom: #18477d;
$custom-light: #6679a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18477d",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 212.079,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.10424,
    "h": 254.4
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#18477D
secondary
#B27C3F
accent
#9A3DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #18477D

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

Preview Lab → · Contrast checker → · Palette generator →

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