#18477E#18477E

#18477E is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.7% C 0.106 H 254.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#18477E
RGBrgb(24, 71, 126)
HSLhsl(212, 68%, 29%)
HSVhsv(212, 81%, 49%)
CMYKcmyk(81%, 43.7%, 0%, 50.6%)
CIE-LABlab(29.93, 5.39, -35.62)
CIE-LCHlch(29.93, 36.03, 278.61°)
OKLaboklab(39.72% -0.0278 -0.1019)
OKLCHoklch(39.72% 0.106 254.7)
XYZxyz(6.3944, 6.2063, 20.5955)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18477E #7E4F18
analogous
#187A7E #18477E #1C187E
triadic
#18477E #7E1847 #477E18
tetradic
#18477E #7E187A #7E4F18 #187E1C
square
#18477E #7E187A #7E4F18 #187E1C
split-complementary
#18477E #7E1C18 #7A7E18
monochromatic
#050E1A #0E2A4B #18477E #2264B1 #3782D9

Accessibility & contrast

On white

9.37
#18477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18477E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18477E#FFFFFF#000000##FFFFFF
##18477E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B80
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18477e;
/* rgb */ color: rgb(24, 71, 126);
/* oklch */ color: oklch(39.7% 0.106 254.7);
Tailwind
colors: {
  custom: {
    50: '#6679a4',
    500: '#18477e',
    950: '#000000',
  },
}
SCSS
$custom: #18477e;
$custom-light: #6679a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18477e",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 212.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39718,
    "c": 0.10567,
    "h": 254.7
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#18477E
secondary
#B27D3F
accent
#9B3DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #18477E

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

Preview Lab → · Contrast checker → · Palette generator →

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