#51A6DC#51A6DC

#51A6DC is a light, moderate cyan. Relative luminance 0.342; OKLCH L 69.5% C 0.114 H 239.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#51A6DC
RGBrgb(81, 166, 220)
HSLhsl(203, 67%, 59%)
HSVhsv(203, 63%, 86%)
CMYKcmyk(63.2%, 24.5%, 0%, 13.7%)
CIE-LABlab(65.11, -9.40, -34.97)
CIE-LCHlch(65.11, 36.21, 254.96°)
OKLaboklab(69.49% -0.0585 -0.0982)
OKLCHoklch(69.49% 0.114 239.2)
XYZxyz(29.9429, 34.1861, 72.7168)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A6DC #DC8751
analogous
#51DCCC #51A6DC #5161DC
triadic
#51A6DC #DC51A6 #A6DC51
tetradic
#51A6DC #CC51DC #DC8751 #61DC51
square
#51A6DC #CC51DC #DC8751 #61DC51
split-complementary
#51A6DC #DC5161 #DCCC51
monochromatic
#1E6795 #288AC8 #51A6DC #84C0E6 #B7DAF0

Accessibility & contrast

On white

2.68
#51A6DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#51A6DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A6DC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A6DC#FFFFFF#000000##000000
##51A6DC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6DF
Deuteranopia (green-blind)
#7A98DB
Tritanopia (blue-blind)
#00B4B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51a6dc;
/* rgb */ color: rgb(81, 166, 220);
/* oklch */ color: oklch(69.5% 0.114 239.2);
Tailwind
colors: {
  custom: {
    50: '#8fc0e7',
    500: '#51a6dc',
    950: '#000000',
  },
}
SCSS
$custom: #51a6dc;
$custom-light: #8fc0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#51a6dc",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 220
  },
  "hsl": {
    "h": 203.309,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.69487,
    "c": 0.11432,
    "h": 239.2
  },
  "luminance": 0.34189
}

Semantic roles & 50–950 ramp

primary
#51A6DC
secondary
#E0BEA9
accent
#813EE9
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A6DC

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

Preview Lab → · Contrast checker → · Palette generator →

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