#18508F#18508F

#18508F is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.119 H 254.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#18508F
RGBrgb(24, 80, 143)
HSLhsl(212, 71%, 33%)
HSVhsv(212, 83%, 56%)
CMYKcmyk(83.2%, 44.1%, 0%, 43.9%)
CIE-LABlab(33.80, 6.28, -39.90)
CIE-LCHlch(33.80, 40.39, 278.94°)
OKLaboklab(43.08% -0.0319 -0.1143)
OKLCHoklch(43.08% 0.119 254.4)
XYZxyz(8.2014, 7.9137, 27.0765)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18508F #8F5718
analogous
#188B8F #18508F #1C188F
triadic
#18508F #8F1850 #508F18
tetradic
#18508F #8F188B #8F5718 #188F1C
square
#18508F #8F188B #8F5718 #188F1C
split-complementary
#18508F #8F1C18 #8B8F18
monochromatic
#061526 #0F335B #18508F #216DC3 #428CDF

Accessibility & contrast

On white

8.13
#18508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#18508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18508F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18508F#FFFFFF#000000##FFFFFF
##18508F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#194B8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #18508f;
/* rgb */ color: rgb(24, 80, 143);
/* oklch */ color: oklch(43.1% 0.119 254.4);
Tailwind
colors: {
  custom: {
    50: '#6a80b0',
    500: '#18508f',
    950: '#000000',
  },
}
SCSS
$custom: #18508f;
$custom-light: #6a80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18508f",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 211.765,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4308,
    "c": 0.11871,
    "h": 254.4
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#18508F
secondary
#C08543
accent
#993AEE
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #18508F

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

Preview Lab → · Contrast checker → · Palette generator →

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