#18538C#18538C

#18538C is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.111 H 251.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#18538C
RGBrgb(24, 83, 140)
HSLhsl(209, 71%, 32%)
HSVhsv(209, 83%, 55%)
CMYKcmyk(82.9%, 40.7%, 0%, 45.1%)
CIE-LABlab(34.55, 3.08, -36.89)
CIE-LCHlch(34.55, 37.01, 274.78°)
OKLaboklab(43.6% -0.0353 -0.1054)
OKLCHoklch(43.6% 0.111 251.5)
XYZxyz(8.2018, 8.2732, 25.9705)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18538C #8C5118
analogous
#188C8B #18538C #18198C
triadic
#18538C #8C1853 #538C18
tetradic
#18538C #8B188C #8C5118 #198C18
square
#18538C #8B188C #8C5118 #198C18
split-complementary
#18538C #8C1819 #8C8B18
monochromatic
#061524 #0F3458 #18538C #2172C0 #4091DE

Accessibility & contrast

On white

7.91
#18538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#18538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18538C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18538C#FFFFFF#000000##FFFFFF
##18538C1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578E
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #18538c;
/* rgb */ color: rgb(24, 83, 140);
/* oklch */ color: oklch(43.6% 0.111 251.5);
Tailwind
colors: {
  custom: {
    50: '#6982ae',
    500: '#18538c',
    950: '#000000',
  },
}
SCSS
$custom: #18538c;
$custom-light: #6982ae;
$custom-dark: #000000;
JSON
{
  "hex": "#18538c",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 209.483,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.11115,
    "h": 251.5
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#18538C
secondary
#BF7F41
accent
#923AED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18538C

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

Preview Lab → · Contrast checker → · Palette generator →

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