#51A5CD#51A5CD

#51A5CD is a light, moderate cyan. Relative luminance 0.331; OKLCH L 68.6% C 0.100 H 231.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#51A5CD
RGBrgb(81, 165, 205)
HSLhsl(199, 55%, 56%)
HSVhsv(199, 60%, 80%)
CMYKcmyk(60.5%, 19.5%, 0%, 19.6%)
CIE-LABlab(64.21, -13.59, -28.06)
CIE-LCHlch(64.21, 31.18, 244.15°)
OKLaboklab(68.57% -0.0626 -0.0784)
OKLCHoklch(68.57% 0.1 231.4)
XYZxyz(27.8637, 33.0647, 62.6595)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A5CD #CD7951
analogous
#51CDB7 #51A5CD #5167CD
triadic
#51A5CD #CD51A5 #A5CD51
tetradic
#51A5CD #B751CD #CD7951 #67CD51
square
#51A5CD #B751CD #CD7951 #67CD51
split-complementary
#51A5CD #CD5167 #CDB751
monochromatic
#25627F #3286AF #51A5CD #81BEDB #B0D6E8

Accessibility & contrast

On white

2.76
#51A5CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#51A5CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A5CD
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A5CD#FFFFFF#000000##000000
##51A5CD1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3CF
Deuteranopia (green-blind)
#8096CC
Tritanopia (blue-blind)
#00B0B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #51a5cd;
/* rgb */ color: rgb(81, 165, 205);
/* oklch */ color: oklch(68.6% 0.100 231.4);
Tailwind
colors: {
  custom: {
    50: '#8dbfdc',
    500: '#51a5cd',
    950: '#000000',
  },
}
SCSS
$custom: #51a5cd;
$custom-light: #8dbfdc;
$custom-dark: #000000;
JSON
{
  "hex": "#51a5cd",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 205
  },
  "hsl": {
    "h": 199.355,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.68574,
    "c": 0.10029,
    "h": 231.4
  },
  "luminance": 0.33067
}

Semantic roles & 50–950 ramp

primary
#51A5CD
secondary
#D7B4A3
accent
#7949DF
background
#F9FBFD
surface
#F1F7FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #51A5CD

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

Preview Lab → · Contrast checker → · Palette generator →

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