#18477C#18477C

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

Color values

HEX#18477C
RGBrgb(24, 71, 124)
HSLhsl(212, 68%, 29%)
HSVhsv(212, 81%, 49%)
CMYKcmyk(80.6%, 42.7%, 0%, 51.4%)
CIE-LABlab(29.80, 4.58, -34.58)
CIE-LCHlch(29.80, 34.88, 277.54°)
OKLaboklab(39.58% -0.0283 -0.0989)
OKLCHoklch(39.58% 0.103 254)
XYZxyz(6.2667, 6.1552, 19.9227)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18477C #7C4D18
analogous
#18797C #18477C #1B187C
triadic
#18477C #7C1847 #477C18
tetradic
#18477C #7C1879 #7C4D18 #187C1B
square
#18477C #7C1879 #7C4D18 #187C1B
split-complementary
#18477C #7C1B18 #797C18
monochromatic
#050F1A #0E2A49 #18477C #2264AF #3682D8

Accessibility & contrast

On white

9.41
#18477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#18477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18477C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18477C#FFFFFF#000000##FFFFFF
##18477C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7E
Deuteranopia (green-blind)
#1C427B
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18477c;
/* rgb */ color: rgb(24, 71, 124);
/* oklch */ color: oklch(39.6% 0.103 254.0);
Tailwind
colors: {
  custom: {
    50: '#6579a2',
    500: '#18477c',
    950: '#000000',
  },
}
SCSS
$custom: #18477c;
$custom-light: #6579a2;
$custom-dark: #000000;
JSON
{
  "hex": "#18477c",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 211.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39579,
    "c": 0.10283,
    "h": 254
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#18477C
secondary
#B17B3F
accent
#993DEA
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #18477C

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

Preview Lab → · Contrast checker → · Palette generator →

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