#18508B#18508B

#18508B is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.113 H 253.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#18508B
RGBrgb(24, 80, 139)
HSLhsl(211, 71%, 32%)
HSVhsv(211, 83%, 55%)
CMYKcmyk(82.7%, 42.4%, 0%, 45.5%)
CIE-LABlab(33.55, 4.66, -37.86)
CIE-LCHlch(33.55, 38.15, 277.01°)
OKLaboklab(42.8% -0.0328 -0.1083)
OKLCHoklch(42.8% 0.113 253.1)
XYZxyz(7.9038, 7.7946, 25.5090)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18508B #8B5318
analogous
#188A8B #18508B #1A188B
triadic
#18508B #8B1850 #508B18
tetradic
#18508B #8B188A #8B5318 #188B1A
square
#18508B #8B188A #8B5318 #188B1A
split-complementary
#18508B #8B1A18 #8A8B18
monochromatic
#061423 #0F3257 #18508B #216EBF #3F8DDE

Accessibility & contrast

On white

8.21
#18508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#18508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18508B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18508B#FFFFFF#000000##FFFFFF
##18508B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548D
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #18508b;
/* rgb */ color: rgb(24, 80, 139);
/* oklch */ color: oklch(42.8% 0.113 253.1);
Tailwind
colors: {
  custom: {
    50: '#6980ad',
    500: '#18508b',
    950: '#000000',
  },
}
SCSS
$custom: #18508b;
$custom-light: #6980ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18508b",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 210.783,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.1132,
    "h": 253.1
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#18508B
secondary
#BE8140
accent
#963AED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18508B

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

Preview Lab → · Contrast checker → · Palette generator →

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