#518AAA#518AAA

#518AAA is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.7% C 0.077 H 234.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#518AAA
RGBrgb(81, 138, 170)
HSLhsl(202, 35%, 49%)
HSVhsv(202, 52%, 67%)
CMYKcmyk(52.4%, 18.8%, 0%, 33.3%)
CIE-LABlab(54.89, -9.50, -22.65)
CIE-LCHlch(54.89, 24.56, 247.24°)
OKLaboklab(60.71% -0.0447 -0.063)
OKLCHoklch(60.71% 0.077 234.6)
XYZxyz(19.7349, 22.8269, 41.3885)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518AAA #AA7151
analogous
#51AA9E #518AAA #515EAA
triadic
#518AAA #AA518A #8AAA51
tetradic
#518AAA #9E51AA #AA7151 #5EAA51
square
#518AAA #9E51AA #AA7151 #5EAA51
split-complementary
#518AAA #AA515E #AA9E51
monochromatic
#2A4757 #3D6881 #518AAA #79A6BF #A2C2D3

Accessibility & contrast

On white

3.77
#518AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#518AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518AAA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518AAA#FFFFFF#000000##000000
##518AAA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B89AC
Deuteranopia (green-blind)
#6E7FAA
Tritanopia (blue-blind)
#1C9294
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #518aaa;
/* rgb */ color: rgb(81, 138, 170);
/* oklch */ color: oklch(60.7% 0.077 234.6);
Tailwind
colors: {
  custom: {
    50: '#88acc3',
    500: '#518aaa',
    950: '#000000',
  },
}
SCSS
$custom: #518aaa;
$custom-light: #88acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#518aaa",
  "rgb": {
    "r": 81,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 201.573,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.07727,
    "h": 234.6
  },
  "luminance": 0.22829
}

Semantic roles & 50–950 ramp

primary
#518AAA
secondary
#C0A697
accent
#845CCB
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #518AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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