#18477B#18477B

#18477B is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.5% C 0.101 H 253.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#18477B
RGBrgb(24, 71, 123)
HSLhsl(212, 67%, 29%)
HSVhsv(212, 80%, 48%)
CMYKcmyk(80.5%, 42.3%, 0%, 51.8%)
CIE-LABlab(29.74, 4.17, -34.05)
CIE-LCHlch(29.74, 34.30, 276.98°)
OKLaboklab(39.51% -0.0285 -0.0973)
OKLCHoklch(39.51% 0.101 253.7)
XYZxyz(6.2037, 6.1300, 19.5913)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18477B #7B4C18
analogous
#18797B #18477B #1B187B
triadic
#18477B #7B1847 #477B18
tetradic
#18477B #7B1879 #7B4C18 #187B1B
square
#18477B #7B1879 #7B4C18 #187B1B
split-complementary
#18477B #7B1B18 #797B18
monochromatic
#050F1A #0E2948 #18477B #2265AE #3683D8

Accessibility & contrast

On white

9.43
#18477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18477B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18477B#FFFFFF#000000##FFFFFF
##18477B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#1D427A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18477b;
/* rgb */ color: rgb(24, 71, 123);
/* oklch */ color: oklch(39.5% 0.101 253.7);
Tailwind
colors: {
  custom: {
    50: '#6579a1',
    500: '#18477b',
    950: '#000000',
  },
}
SCSS
$custom: #18477b;
$custom-light: #6579a1;
$custom-dark: #000000;
JSON
{
  "hex": "#18477b",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 211.515,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.10142,
    "h": 253.7
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#18477B
secondary
#B07A3F
accent
#983EEA
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #18477B

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

Preview Lab → · Contrast checker → · Palette generator →

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