#51A5DC#51A5DC

#51A5DC is a light, moderate cyan. Relative luminance 0.338; OKLCH L 69.3% C 0.115 H 240.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#51A5DC
RGBrgb(81, 165, 220)
HSLhsl(204, 67%, 59%)
HSVhsv(204, 63%, 86%)
CMYKcmyk(63.2%, 25%, 0%, 13.7%)
CIE-LABlab(64.82, -8.84, -35.42)
CIE-LCHlch(64.82, 36.51, 255.98°)
OKLaboklab(69.26% -0.0574 -0.0995)
OKLCHoklch(69.26% 0.115 240)
XYZxyz(29.7618, 33.8239, 72.6565)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A5DC #DC8851
analogous
#51DCCE #51A5DC #5160DC
triadic
#51A5DC #DC51A5 #A5DC51
tetradic
#51A5DC #CE51DC #DC8851 #60DC51
square
#51A5DC #CE51DC #DC8851 #60DC51
split-complementary
#51A5DC #DC5160 #DCCE51
monochromatic
#1E6695 #2889C8 #51A5DC #84BFE6 #B7DAF0

Accessibility & contrast

On white

2.70
#51A5DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#51A5DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A5DC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A5DC#FFFFFF#000000##000000
##51A5DC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DF
Deuteranopia (green-blind)
#7997DB
Tritanopia (blue-blind)
#00B3B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51a5dc;
/* rgb */ color: rgb(81, 165, 220);
/* oklch */ color: oklch(69.3% 0.115 240.0);
Tailwind
colors: {
  custom: {
    50: '#8fbfe7',
    500: '#51a5dc',
    950: '#000000',
  },
}
SCSS
$custom: #51a5dc;
$custom-light: #8fbfe7;
$custom-dark: #000000;
JSON
{
  "hex": "#51a5dc",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 220
  },
  "hsl": {
    "h": 203.741,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.69259,
    "c": 0.11492,
    "h": 240
  },
  "luminance": 0.33827
}

Semantic roles & 50–950 ramp

primary
#51A5DC
secondary
#E0BFA9
accent
#823EE9
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A5DC

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

Preview Lab → · Contrast checker → · Palette generator →

#51A5DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva