#18508E#18508E

#18508E is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.117 H 254.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#18508E
RGBrgb(24, 80, 142)
HSLhsl(212, 71%, 33%)
HSVhsv(212, 83%, 56%)
CMYKcmyk(83.1%, 43.7%, 0%, 44.3%)
CIE-LABlab(33.74, 5.87, -39.39)
CIE-LCHlch(33.74, 39.83, 278.48°)
OKLaboklab(43.01% -0.0321 -0.1128)
OKLCHoklch(43.01% 0.117 254.1)
XYZxyz(8.1260, 7.8835, 26.6793)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18508E #8E5618
analogous
#188B8E #18508E #1B188E
triadic
#18508E #8E1850 #508E18
tetradic
#18508E #8E188B #8E5618 #188E1B
square
#18508E #8E188B #8E5618 #188E1B
split-complementary
#18508E #8E1B18 #8B8E18
monochromatic
#061525 #0F335A #18508E #216DC2 #418CDF

Accessibility & contrast

On white

8.15
#18508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18508E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18508E#FFFFFF#000000##FFFFFF
##18508E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#1B4A8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #18508e;
/* rgb */ color: rgb(24, 80, 142);
/* oklch */ color: oklch(43.0% 0.117 254.1);
Tailwind
colors: {
  custom: {
    50: '#6a80af',
    500: '#18508e',
    950: '#000000',
  },
}
SCSS
$custom: #18508e;
$custom-light: #6a80af;
$custom-dark: #000000;
JSON
{
  "hex": "#18508e",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 211.525,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4301,
    "c": 0.11733,
    "h": 254.1
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18508E

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

Preview Lab → · Contrast checker → · Palette generator →

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