#51A8DC#51A8DC

#51A8DC is a light, moderate cyan. Relative luminance 0.349; OKLCH L 69.9% C 0.113 H 237.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#51A8DC
RGBrgb(81, 168, 220)
HSLhsl(202, 67%, 59%)
HSVhsv(202, 63%, 86%)
CMYKcmyk(63.2%, 23.6%, 0%, 13.7%)
CIE-LABlab(65.69, -10.49, -34.08)
CIE-LCHlch(65.69, 35.66, 252.89°)
OKLaboklab(69.94% -0.0605 -0.0956)
OKLCHoklch(69.94% 0.113 237.7)
XYZxyz(30.3093, 34.9188, 72.8390)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A8DC #DC8551
analogous
#51DCCB #51A8DC #5163DC
triadic
#51A8DC #DC51A8 #A8DC51
tetradic
#51A8DC #CB51DC #DC8551 #63DC51
square
#51A8DC #CB51DC #DC8551 #63DC51
split-complementary
#51A8DC #DC5163 #DCCB51
monochromatic
#1E6895 #288CC8 #51A8DC #84C1E6 #B7DBF0

Accessibility & contrast

On white

2.63
#51A8DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#51A8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A8DC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A8DC#FFFFFF#000000##000000
##51A8DC1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DE
Deuteranopia (green-blind)
#7D99DB
Tritanopia (blue-blind)
#00B5BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #51a8dc;
/* rgb */ color: rgb(81, 168, 220);
/* oklch */ color: oklch(69.9% 0.113 237.7);
Tailwind
colors: {
  custom: {
    50: '#8fc1e7',
    500: '#51a8dc',
    950: '#000000',
  },
}
SCSS
$custom: #51a8dc;
$custom-light: #8fc1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#51a8dc",
  "rgb": {
    "r": 81,
    "g": 168,
    "b": 220
  },
  "hsl": {
    "h": 202.446,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.69943,
    "c": 0.1132,
    "h": 237.7
  },
  "luminance": 0.34922
}

Semantic roles & 50–950 ramp

primary
#51A8DC
secondary
#E0BEA9
accent
#7E3EE9
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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