#18508A#18508A

#18508A is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.112 H 252.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#18508A
RGBrgb(24, 80, 138)
HSLhsl(211, 70%, 32%)
HSVhsv(211, 83%, 54%)
CMYKcmyk(82.6%, 42%, 0%, 45.9%)
CIE-LABlab(33.49, 4.25, -37.35)
CIE-LCHlch(33.49, 37.59, 276.50°)
OKLaboklab(42.74% -0.0331 -0.1068)
OKLCHoklch(42.74% 0.112 252.8)
XYZxyz(7.8311, 7.7655, 25.1260)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18508A #8A5218
analogous
#18898A #18508A #19188A
triadic
#18508A #8A1850 #508A18
tetradic
#18508A #8A1889 #8A5218 #188A19
square
#18508A #8A1889 #8A5218 #188A19
split-complementary
#18508A #8A1918 #898A18
monochromatic
#061422 #0F3256 #18508A #216EBE #3F8DDE

Accessibility & contrast

On white

8.22
#18508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#18508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18508A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18508A#FFFFFF#000000##FFFFFF
##18508A1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548C
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #18508a;
/* rgb */ color: rgb(24, 80, 138);
/* oklch */ color: oklch(42.7% 0.112 252.8);
Tailwind
colors: {
  custom: {
    50: '#6980ac',
    500: '#18508a',
    950: '#000000',
  },
}
SCSS
$custom: #18508a;
$custom-light: #6980ac;
$custom-dark: #000000;
JSON
{
  "hex": "#18508a",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 210.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.11182,
    "h": 252.8
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#18508A
secondary
#BD8040
accent
#953BED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18508A

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

Preview Lab → · Contrast checker → · Palette generator →

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