#18498D#18498D

#18498D is a dark, vivid cyan. Relative luminance 0.069; OKLCH L 41.3% C 0.124 H 257.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#18498D
RGBrgb(24, 73, 141)
HSLhsl(215, 71%, 32%)
HSVhsv(215, 83%, 55%)
CMYKcmyk(83%, 48.2%, 0%, 44.7%)
CIE-LABlab(31.54, 10.18, -42.32)
CIE-LCHlch(31.54, 43.53, 283.53°)
OKLaboklab(41.28% -0.0264 -0.1216)
OKLCHoklch(41.28% 0.124 257.7)
XYZxyz(7.5652, 6.8814, 26.1237)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18498D #8D5C18
analogous
#18838D #18498D #22188D
triadic
#18498D #8D1849 #498D18
tetradic
#18498D #8D1883 #8D5C18 #188D22
square
#18498D #8D1883 #8D5C18 #188D22
split-complementary
#18498D #8D2218 #838D18
monochromatic
#061324 #0F2E59 #18498D #2164C1 #4183DF

Accessibility & contrast

On white

8.84
#18498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#18498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18498D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18498D#FFFFFF#000000##FFFFFF
##18498D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #18498d;
/* rgb */ color: rgb(24, 73, 141);
/* oklch */ color: oklch(41.3% 0.124 257.7);
Tailwind
colors: {
  custom: {
    50: '#6a7baf',
    500: '#18498d',
    950: '#000000',
  },
}
SCSS
$custom: #18498d;
$custom-light: #6a7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#18498d",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 214.872,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41283,
    "c": 0.12443,
    "h": 257.7
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#18498D
secondary
#BF8B42
accent
#A23AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #18498D

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

Preview Lab → · Contrast checker → · Palette generator →

#18498D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva