#18538D#18538D

#18538D is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.113 H 251.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#18538D
RGBrgb(24, 83, 141)
HSLhsl(210, 71%, 32%)
HSVhsv(210, 83%, 55%)
CMYKcmyk(83%, 41.1%, 0%, 44.7%)
CIE-LABlab(34.61, 3.48, -37.40)
CIE-LCHlch(34.61, 37.56, 275.32°)
OKLaboklab(43.67% -0.035 -0.1069)
OKLCHoklch(43.67% 0.113 251.9)
XYZxyz(8.2758, 8.3028, 26.3606)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18538D #8D5218
analogous
#188D8D #18538D #18188D
triadic
#18538D #8D1853 #538D18
tetradic
#18538D #8D188D #8D5218 #188D18
square
#18538D #8D188D #8D5218 #188D18
split-complementary
#18538D #8D1818 #8D8D18
monochromatic
#061524 #0F3459 #18538D #2172C1 #4190DF

Accessibility & contrast

On white

7.89
#18538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#18538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18538D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18538D#FFFFFF#000000##FFFFFF
##18538D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#234D8C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #18538d;
/* rgb */ color: rgb(24, 83, 141);
/* oklch */ color: oklch(43.7% 0.113 251.9);
Tailwind
colors: {
  custom: {
    50: '#6982af',
    500: '#18538d',
    950: '#000000',
  },
}
SCSS
$custom: #18538d;
$custom-light: #6982af;
$custom-dark: #000000;
JSON
{
  "hex": "#18538d",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 209.744,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43666,
    "c": 0.1125,
    "h": 251.9
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#18538D
secondary
#BF8042
accent
#933AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18538D

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

Preview Lab → · Contrast checker → · Palette generator →

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