#18497F#18497F

#18497F is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.105 H 253.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#18497F
RGBrgb(24, 73, 127)
HSLhsl(211, 68%, 30%)
HSVhsv(211, 81%, 50%)
CMYKcmyk(81.1%, 42.5%, 0%, 50.2%)
CIE-LABlab(30.62, 4.45, -35.14)
CIE-LCHlch(30.62, 35.42, 277.22°)
OKLaboklab(40.28% -0.0294 -0.1005)
OKLCHoklch(40.28% 0.105 253.7)
XYZxyz(6.5886, 6.4908, 20.9802)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18497F #7F4E18
analogous
#187D7F #18497F #1A187F
triadic
#18497F #7F1849 #497F18
tetradic
#18497F #7F187D #7F4E18 #187F1A
square
#18497F #7F187D #7F4E18 #187F1A
split-complementary
#18497F #7F1A18 #7D7F18
monochromatic
#050F1A #0E2B4C #18497F #2267B2 #3885D9

Accessibility & contrast

On white

9.14
#18497F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#18497F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18497F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18497F#FFFFFF#000000##FFFFFF
##18497F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18497f;
/* rgb */ color: rgb(24, 73, 127);
/* oklch */ color: oklch(40.3% 0.105 253.7);
Tailwind
colors: {
  custom: {
    50: '#667ba4',
    500: '#18497f',
    950: '#000000',
  },
}
SCSS
$custom: #18497f;
$custom-light: #667ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#18497f",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 211.456,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40277,
    "c": 0.1047,
    "h": 253.7
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#18497F
secondary
#B37C3F
accent
#983DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #18497F

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

Preview Lab → · Contrast checker → · Palette generator →

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