#518BB2#518BB2

#518BB2 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.3% C 0.085 H 239.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#518BB2
RGBrgb(81, 139, 178)
HSLhsl(204, 39%, 51%)
HSVhsv(204, 54%, 70%)
CMYKcmyk(54.5%, 21.9%, 0%, 30.2%)
CIE-LABlab(55.51, -7.61, -26.28)
CIE-LCHlch(55.51, 27.36, 253.86°)
OKLaboklab(61.31% -0.043 -0.0734)
OKLCHoklch(61.31% 0.085 239.6)
XYZxyz(20.6589, 23.4272, 45.5441)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518BB2 #B27851
analogous
#51B2A8 #518BB2 #515AB2
triadic
#518BB2 #B2518B #8BB251
tetradic
#518BB2 #A851B2 #B27851 #5AB251
square
#518BB2 #A851B2 #B27851 #5AB251
split-complementary
#518BB2 #B2515A #B2A851
monochromatic
#2A495F #3D6A89 #518BB2 #7BA7C5 #A6C4D8

Accessibility & contrast

On white

3.69
#518BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#518BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518BB2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518BB2#FFFFFF#000000##000000
##518BB21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#6C81B1
Tritanopia (blue-blind)
#0D9598
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #518bb2;
/* rgb */ color: rgb(81, 139, 178);
/* oklch */ color: oklch(61.3% 0.085 239.6);
Tailwind
colors: {
  custom: {
    50: '#89acc9',
    500: '#518bb2',
    950: '#000000',
  },
}
SCSS
$custom: #518bb2;
$custom-light: #89acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#518bb2",
  "rgb": {
    "r": 81,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 204.124,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.08506,
    "h": 239.6
  },
  "luminance": 0.23429
}

Semantic roles & 50–950 ramp

primary
#518BB2
secondary
#C5AB9A
accent
#8859CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #518BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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