#18497E#18497E

#18497E is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.2% C 0.103 H 253.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#18497E
RGBrgb(24, 73, 126)
HSLhsl(211, 68%, 29%)
HSVhsv(211, 81%, 49%)
CMYKcmyk(81%, 42.1%, 0%, 50.6%)
CIE-LABlab(30.56, 4.04, -34.62)
CIE-LCHlch(30.56, 34.85, 276.66°)
OKLaboklab(40.21% -0.0297 -0.0989)
OKLCHoklch(40.21% 0.103 253.3)
XYZxyz(6.5237, 6.4649, 20.6386)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18497E #7E4D18
analogous
#187C7E #18497E #1A187E
triadic
#18497E #7E1849 #497E18
tetradic
#18497E #7E187C #7E4D18 #187E1A
square
#18497E #7E187C #7E4D18 #187E1A
split-complementary
#18497E #7E1A18 #7C7E18
monochromatic
#050F1A #0E2B4B #18497E #2267B1 #3785D9

Accessibility & contrast

On white

9.16
#18497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#18497E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18497E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18497E#FFFFFF#000000##FFFFFF
##18497E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#1E447D
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18497e;
/* rgb */ color: rgb(24, 73, 126);
/* oklch */ color: oklch(40.2% 0.103 253.3);
Tailwind
colors: {
  custom: {
    50: '#667ba4',
    500: '#18497e',
    950: '#000000',
  },
}
SCSS
$custom: #18497e;
$custom-light: #667ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#18497e",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 211.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.1033,
    "h": 253.3
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#18497E
secondary
#B27B3F
accent
#973DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #18497E

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

Preview Lab → · Contrast checker → · Palette generator →

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