#18508C#18508C

#18508C is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.115 H 253.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#18508C
RGBrgb(24, 80, 140)
HSLhsl(211, 71%, 32%)
HSVhsv(211, 83%, 55%)
CMYKcmyk(82.9%, 42.9%, 0%, 45.1%)
CIE-LABlab(33.61, 5.06, -38.37)
CIE-LCHlch(33.61, 38.71, 277.52°)
OKLaboklab(42.87% -0.0326 -0.1098)
OKLCHoklch(42.87% 0.115 253.5)
XYZxyz(7.9772, 7.8240, 25.8956)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18508C #8C5418
analogous
#188A8C #18508C #1A188C
triadic
#18508C #8C1850 #508C18
tetradic
#18508C #8C188A #8C5418 #188C1A
square
#18508C #8C188A #8C5418 #188C1A
split-complementary
#18508C #8C1A18 #8A8C18
monochromatic
#061424 #0F3258 #18508C #216EC0 #408CDE

Accessibility & contrast

On white

8.19
#18508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18508C
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18508C#FFFFFF#000000##FFFFFF
##18508C1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558E
Deuteranopia (green-blind)
#1D4A8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #18508c;
/* rgb */ color: rgb(24, 80, 140);
/* oklch */ color: oklch(42.9% 0.115 253.5);
Tailwind
colors: {
  custom: {
    50: '#6980ae',
    500: '#18508c',
    950: '#000000',
  },
}
SCSS
$custom: #18508c;
$custom-light: #6980ae;
$custom-dark: #000000;
JSON
{
  "hex": "#18508c",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 211.034,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42872,
    "c": 0.11458,
    "h": 253.5
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#18508C
secondary
#BF8241
accent
#973AED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18508C

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

Preview Lab → · Contrast checker → · Palette generator →

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