#18508D#18508D

#18508D is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.116 H 253.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#18508D
RGBrgb(24, 80, 141)
HSLhsl(211, 71%, 32%)
HSVhsv(211, 83%, 55%)
CMYKcmyk(83%, 43.3%, 0%, 44.7%)
CIE-LABlab(33.68, 5.47, -38.88)
CIE-LCHlch(33.68, 39.27, 278.01°)
OKLaboklab(42.94% -0.0324 -0.1113)
OKLCHoklch(42.94% 0.116 253.8)
XYZxyz(8.0513, 7.8536, 26.2857)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18508D #8D5518
analogous
#188B8D #18508D #1B188D
triadic
#18508D #8D1850 #508D18
tetradic
#18508D #8D188B #8D5518 #188D1B
square
#18508D #8D188B #8D5518 #188D1B
split-complementary
#18508D #8D1B18 #8B8D18
monochromatic
#061524 #0F3259 #18508D #216EC1 #418CDF

Accessibility & contrast

On white

8.17
#18508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#18508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18508D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18508D#FFFFFF#000000##FFFFFF
##18508D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#1C4A8C
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #18508d;
/* rgb */ color: rgb(24, 80, 141);
/* oklch */ color: oklch(42.9% 0.116 253.8);
Tailwind
colors: {
  custom: {
    50: '#6980af',
    500: '#18508d',
    950: '#000000',
  },
}
SCSS
$custom: #18508d;
$custom-light: #6980af;
$custom-dark: #000000;
JSON
{
  "hex": "#18508d",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 211.282,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.11595,
    "h": 253.8
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#18508D
secondary
#BF8342
accent
#983AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18508D

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

Preview Lab → · Contrast checker → · Palette generator →

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