#18519E#18519E

#18519E is a dark, vivid cyan. Relative luminance 0.085; OKLCH L 44.4% C 0.138 H 257.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#18519E
RGBrgb(24, 81, 158)
HSLhsl(214, 74%, 36%)
HSVhsv(214, 85%, 62%)
CMYKcmyk(84.8%, 48.7%, 0%, 38%)
CIE-LABlab(35.10, 11.71, -46.91)
CIE-LCHlch(35.10, 48.35, 284.01°)
OKLaboklab(44.4% -0.0298 -0.1349)
OKLCHoklch(44.4% 0.138 257.6)
XYZxyz(9.4884, 8.5465, 33.4907)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18519E #9E6518
analogous
#18949E #18519E #22189E
triadic
#18519E #9E1851 #519E18
tetradic
#18519E #9E1894 #9E6518 #189E22
square
#18519E #9E1894 #9E6518 #189E22
split-complementary
#18519E #9E2218 #949E18
monochromatic
#081B34 #103669 #18519E #206CD3 #4D8DE4

Accessibility & contrast

On white

7.75
#18519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#18519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18519E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18519E#FFFFFF#000000##FFFFFF
##18519E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #18519e;
/* rgb */ color: rgb(24, 81, 158);
/* oklch */ color: oklch(44.4% 0.138 257.6);
Tailwind
colors: {
  custom: {
    50: '#6e81bb',
    500: '#18519e',
    950: '#000000',
  },
}
SCSS
$custom: #18519e;
$custom-light: #6e81bb;
$custom-dark: #000000;
JSON
{
  "hex": "#18519e",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 214.478,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.444,
    "c": 0.13818,
    "h": 257.6
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#18519E
secondary
#C6924C
accent
#A238F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #18519E

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

Preview Lab → · Contrast checker → · Palette generator →

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