#518EC2#518EC2

#518EC2 is a light, moderate cyan. Relative luminance 0.250; OKLCH L 62.8% C 0.101 H 246.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#518EC2
RGBrgb(81, 142, 194)
HSLhsl(208, 48%, 54%)
HSVhsv(208, 58%, 76%)
CMYKcmyk(58.2%, 26.8%, 0%, 23.9%)
CIE-LABlab(57.06, -4.26, -32.97)
CIE-LCHlch(57.06, 33.24, 262.64°)
OKLaboklab(62.76% -0.0411 -0.0926)
OKLCHoklch(62.76% 0.101 246.1)
XYZxyz(22.8004, 24.9883, 54.6502)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518EC2 #C28551
analogous
#51C2BE #518EC2 #5156C2
triadic
#518EC2 #C2518E #8EC251
tetradic
#518EC2 #BE51C2 #C28551 #56C251
square
#518EC2 #BE51C2 #C28551 #56C251
split-complementary
#518EC2 #C25156 #C2BE51
monochromatic
#284F71 #376F9E #518EC2 #7EABD2 #ACC9E2

Accessibility & contrast

On white

3.50
#518EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#518EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518EC2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518EC2#FFFFFF#000000##000000
##518EC21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#788FC4
Deuteranopia (green-blind)
#6984C1
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #518ec2;
/* rgb */ color: rgb(81, 142, 194);
/* oklch */ color: oklch(62.8% 0.101 246.1);
Tailwind
colors: {
  custom: {
    50: '#8baed4',
    500: '#518ec2',
    950: '#000000',
  },
}
SCSS
$custom: #518ec2;
$custom-light: #8baed4;
$custom-dark: #000000;
JSON
{
  "hex": "#518ec2",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 207.611,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62759,
    "c": 0.10132,
    "h": 246.1
  },
  "luminance": 0.2499
}

Semantic roles & 50–950 ramp

primary
#518EC2
secondary
#D0B59F
accent
#8F50D8
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D1014
muted
#7D7F83

Preview Lab

Preview with #518EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#518EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva