#51A4DC#51A4DC

#51A4DC is a light, moderate cyan. Relative luminance 0.335; OKLCH L 69.0% C 0.116 H 240.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#51A4DC
RGBrgb(81, 164, 220)
HSLhsl(204, 67%, 59%)
HSVhsv(204, 63%, 86%)
CMYKcmyk(63.2%, 25.5%, 0%, 13.7%)
CIE-LABlab(64.54, -8.29, -35.87)
CIE-LCHlch(64.54, 36.81, 256.99°)
OKLaboklab(69.03% -0.0564 -0.1008)
OKLCHoklch(69.03% 0.116 240.8)
XYZxyz(29.5822, 33.4646, 72.5966)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A4DC #DC8951
analogous
#51DCCF #51A4DC #515FDC
triadic
#51A4DC #DC51A4 #A4DC51
tetradic
#51A4DC #CF51DC #DC8951 #5FDC51
square
#51A4DC #CF51DC #DC8951 #5FDC51
split-complementary
#51A4DC #DC515F #DCCF51
monochromatic
#1E6595 #2887C8 #51A4DC #84BFE6 #B7D9F0

Accessibility & contrast

On white

2.73
#51A4DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#51A4DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A4DC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A4DC#FFFFFF#000000##000000
##51A4DC1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DF
Deuteranopia (green-blind)
#7896DB
Tritanopia (blue-blind)
#00B2B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #51a4dc;
/* rgb */ color: rgb(81, 164, 220);
/* oklch */ color: oklch(69.0% 0.116 240.8);
Tailwind
colors: {
  custom: {
    50: '#8fbee7',
    500: '#51a4dc',
    950: '#000000',
  },
}
SCSS
$custom: #51a4dc;
$custom-light: #8fbee7;
$custom-dark: #000000;
JSON
{
  "hex": "#51a4dc",
  "rgb": {
    "r": 81,
    "g": 164,
    "b": 220
  },
  "hsl": {
    "h": 204.173,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.69032,
    "c": 0.11553,
    "h": 240.8
  },
  "luminance": 0.33468
}

Semantic roles & 50–950 ramp

primary
#51A4DC
secondary
#E0BFA9
accent
#833EE9
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A4DC

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

Preview Lab → · Contrast checker → · Palette generator →

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