#518DB2#518DB2

#518DB2 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.8% C 0.084 H 237.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#518DB2
RGBrgb(81, 141, 178)
HSLhsl(203, 39%, 51%)
HSVhsv(203, 54%, 70%)
CMYKcmyk(54.5%, 20.8%, 0%, 30.2%)
CIE-LABlab(56.10, -8.74, -25.37)
CIE-LCHlch(56.10, 26.83, 251.00°)
OKLaboklab(61.78% -0.0454 -0.0708)
OKLCHoklch(61.78% 0.084 237.3)
XYZxyz(20.9511, 24.0116, 45.6415)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518DB2 #B27651
analogous
#51B2A6 #518DB2 #515CB2
triadic
#518DB2 #B2518D #8DB251
tetradic
#518DB2 #A651B2 #B27651 #5CB251
square
#518DB2 #A651B2 #B27651 #5CB251
split-complementary
#518DB2 #B2515C #B2A651
monochromatic
#2A4B5F #3D6C89 #518DB2 #7BA9C5 #A6C5D8

Accessibility & contrast

On white

3.62
#518DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#518DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518DB2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518DB2#FFFFFF#000000##000000
##518DB21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#0B9699
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #518db2;
/* rgb */ color: rgb(81, 141, 178);
/* oklch */ color: oklch(61.8% 0.084 237.3);
Tailwind
colors: {
  custom: {
    50: '#89aec9',
    500: '#518db2',
    950: '#000000',
  },
}
SCSS
$custom: #518db2;
$custom-light: #89aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#518db2",
  "rgb": {
    "r": 81,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 202.887,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61775,
    "c": 0.08406,
    "h": 237.3
  },
  "luminance": 0.24013
}

Semantic roles & 50–950 ramp

primary
#518DB2
secondary
#C5AA9A
accent
#8659CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #518DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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