#18477F#18477F

#18477F is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.8% C 0.107 H 255.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#18477F
RGBrgb(24, 71, 127)
HSLhsl(213, 68%, 30%)
HSVhsv(213, 81%, 50%)
CMYKcmyk(81.1%, 44.1%, 0%, 50.2%)
CIE-LABlab(29.99, 5.81, -36.14)
CIE-LCHlch(29.99, 36.61, 279.12°)
OKLaboklab(39.79% -0.0276 -0.1035)
OKLCHoklch(39.79% 0.107 255.1)
XYZxyz(6.4593, 6.2322, 20.9371)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18477F #7F5018
analogous
#187B7F #18477F #1C187F
triadic
#18477F #7F1847 #477F18
tetradic
#18477F #7F187B #7F5018 #187F1C
square
#18477F #7F187B #7F5018 #187F1C
split-complementary
#18477F #7F1C18 #7B7F18
monochromatic
#050E1A #0E2A4C #18477F #2264B2 #3882D9

Accessibility & contrast

On white

9.35
#18477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#18477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18477F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18477F#FFFFFF#000000##FFFFFF
##18477F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#18427E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18477f;
/* rgb */ color: rgb(24, 71, 127);
/* oklch */ color: oklch(39.8% 0.107 255.1);
Tailwind
colors: {
  custom: {
    50: '#6679a4',
    500: '#18477f',
    950: '#000000',
  },
}
SCSS
$custom: #18477f;
$custom-light: #6679a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18477f",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 212.621,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.10708,
    "h": 255.1
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#18477F
secondary
#B37E3F
accent
#9C3DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #18477F

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

Preview Lab → · Contrast checker → · Palette generator →

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