#18518E#18518E

#18518E is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.3% C 0.116 H 253.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#18518E
RGBrgb(24, 81, 142)
HSLhsl(211, 71%, 33%)
HSVhsv(211, 83%, 56%)
CMYKcmyk(83.1%, 43%, 0%, 44.3%)
CIE-LABlab(34.05, 5.21, -38.90)
CIE-LCHlch(34.05, 39.25, 277.63°)
OKLaboklab(43.25% -0.033 -0.1114)
OKLCHoklch(43.25% 0.116 253.5)
XYZxyz(8.1998, 8.0310, 26.7039)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18518E #8E5518
analogous
#188C8E #18518E #1A188E
triadic
#18518E #8E1851 #518E18
tetradic
#18518E #8E188C #8E5518 #188E1A
square
#18518E #8E188C #8E5518 #188E1A
split-complementary
#18518E #8E1A18 #8C8E18
monochromatic
#061525 #0F335A #18518E #216FC2 #418EDF

Accessibility & contrast

On white

8.06
#18518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#18518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18518E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18518E#FFFFFF#000000##FFFFFF
##18518E1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #18518e;
/* rgb */ color: rgb(24, 81, 142);
/* oklch */ color: oklch(43.3% 0.116 253.5);
Tailwind
colors: {
  custom: {
    50: '#6a81af',
    500: '#18518e',
    950: '#000000',
  },
}
SCSS
$custom: #18518e;
$custom-light: #6a81af;
$custom-dark: #000000;
JSON
{
  "hex": "#18518e",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 211.017,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4325,
    "c": 0.11616,
    "h": 253.5
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#18518E
secondary
#C08342
accent
#973AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18518E

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

Preview Lab → · Contrast checker → · Palette generator →

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