#18497B#18497B

#18497B is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.099 H 252.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#18497B
RGBrgb(24, 73, 123)
HSLhsl(210, 67%, 29%)
HSVhsv(210, 80%, 48%)
CMYKcmyk(80.5%, 40.7%, 0%, 51.8%)
CIE-LABlab(30.37, 2.82, -33.04)
CIE-LCHlch(30.37, 33.16, 274.88°)
OKLaboklab(40.01% -0.0304 -0.0943)
OKLCHoklch(40.01% 0.099 252.1)
XYZxyz(6.3330, 6.3886, 19.6344)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18497B #7B4A18
analogous
#187B7B #18497B #19187B
triadic
#18497B #7B1849 #497B18
tetradic
#18497B #7B187B #7B4A18 #187B19
square
#18497B #7B187B #7B4A18 #187B19
split-complementary
#18497B #7B1918 #7B7B18
monochromatic
#050F1A #0E2B48 #18497B #2267AE #3686D8

Accessibility & contrast

On white

9.22
#18497B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#18497B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18497B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18497B#FFFFFF#000000##FFFFFF
##18497B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#21437A
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18497b;
/* rgb */ color: rgb(24, 73, 123);
/* oklch */ color: oklch(40.0% 0.099 252.1);
Tailwind
colors: {
  custom: {
    50: '#657ba1',
    500: '#18497b',
    950: '#000000',
  },
}
SCSS
$custom: #18497b;
$custom-light: #657ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#18497b",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 210.303,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40005,
    "c": 0.0991,
    "h": 252.1
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#18497B
secondary
#B0783F
accent
#953EEA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090F
muted
#7A7B7E

Preview Lab

Preview with #18497B

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

Preview Lab → · Contrast checker → · Palette generator →

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