#51A1DC#51A1DC

#51A1DC is a light, moderate cyan. Relative luminance 0.324; OKLCH L 68.4% C 0.118 H 243.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#51A1DC
RGBrgb(81, 161, 220)
HSLhsl(205, 67%, 59%)
HSVhsv(205, 63%, 86%)
CMYKcmyk(63.2%, 26.8%, 0%, 13.7%)
CIE-LABlab(63.67, -6.62, -37.21)
CIE-LCHlch(63.67, 37.79, 259.91°)
OKLaboklab(68.35% -0.0533 -0.1047)
OKLCHoklch(68.35% 0.118 243)
XYZxyz(29.0516, 32.4035, 72.4197)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A1DC #DC8C51
analogous
#51DCD2 #51A1DC #515CDC
triadic
#51A1DC #DC51A1 #A1DC51
tetradic
#51A1DC #D251DC #DC8C51 #5CDC51
square
#51A1DC #D251DC #DC8C51 #5CDC51
split-complementary
#51A1DC #DC515C #DCD251
monochromatic
#1E6295 #2884C8 #51A1DC #84BDE6 #B7D8F0

Accessibility & contrast

On white

2.81
#51A1DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#51A1DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A1DC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A1DC#FFFFFF#000000##000000
##51A1DC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DF
Deuteranopia (green-blind)
#7494DB
Tritanopia (blue-blind)
#00AFB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #51a1dc;
/* rgb */ color: rgb(81, 161, 220);
/* oklch */ color: oklch(68.4% 0.118 243.0);
Tailwind
colors: {
  custom: {
    50: '#8ebce7',
    500: '#51a1dc',
    950: '#000000',
  },
}
SCSS
$custom: #51a1dc;
$custom-light: #8ebce7;
$custom-dark: #000000;
JSON
{
  "hex": "#51a1dc",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 220
  },
  "hsl": {
    "h": 205.468,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.68351,
    "c": 0.11751,
    "h": 243
  },
  "luminance": 0.32406
}

Semantic roles & 50–950 ramp

primary
#51A1DC
secondary
#E0C0A9
accent
#873EE9
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A1DC

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

Preview Lab → · Contrast checker → · Palette generator →

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