#51A7DC#51A7DC

#51A7DC is a light, moderate cyan. Relative luminance 0.346; OKLCH L 69.7% C 0.114 H 238.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#51A7DC
RGBrgb(81, 167, 220)
HSLhsl(203, 67%, 59%)
HSVhsv(203, 63%, 86%)
CMYKcmyk(63.2%, 24.1%, 0%, 13.7%)
CIE-LABlab(65.40, -9.95, -34.53)
CIE-LCHlch(65.40, 35.93, 253.93°)
OKLaboklab(69.72% -0.0595 -0.0969)
OKLCHoklch(69.72% 0.114 238.5)
XYZxyz(30.1254, 34.5510, 72.7777)
Luminance0.3455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A7DC #DC8651
analogous
#51DCCC #51A7DC #5162DC
triadic
#51A7DC #DC51A7 #A7DC51
tetradic
#51A7DC #CC51DC #DC8651 #62DC51
square
#51A7DC #CC51DC #DC8651 #62DC51
split-complementary
#51A7DC #DC5162 #DCCC51
monochromatic
#1E6795 #288BC8 #51A7DC #84C1E6 #B7DBF0

Accessibility & contrast

On white

2.65
#51A7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#51A7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A7DC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A7DC#FFFFFF#000000##000000
##51A7DC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DE
Deuteranopia (green-blind)
#7B99DB
Tritanopia (blue-blind)
#00B4B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51a7dc;
/* rgb */ color: rgb(81, 167, 220);
/* oklch */ color: oklch(69.7% 0.114 238.5);
Tailwind
colors: {
  custom: {
    50: '#8fc1e7',
    500: '#51a7dc',
    950: '#000000',
  },
}
SCSS
$custom: #51a7dc;
$custom-light: #8fc1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#51a7dc",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 202.878,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.69715,
    "c": 0.11375,
    "h": 238.5
  },
  "luminance": 0.34554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51A7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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