#51A5CC#51A5CC

#51A5CC is a light, moderate cyan. Relative luminance 0.330; OKLCH L 68.5% C 0.099 H 230.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#51A5CC
RGBrgb(81, 165, 204)
HSLhsl(199, 55%, 56%)
HSVhsv(199, 60%, 80%)
CMYKcmyk(60.3%, 19.1%, 0%, 20%)
CIE-LABlab(64.17, -13.91, -27.56)
CIE-LCHlch(64.17, 30.87, 243.23°)
OKLaboklab(68.53% -0.0629 -0.077)
OKLCHoklch(68.53% 0.099 230.7)
XYZxyz(27.7433, 33.0165, 62.0258)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A5CC #CC7851
analogous
#51CCB5 #51A5CC #5167CC
triadic
#51A5CC #CC51A5 #A5CC51
tetradic
#51A5CC #B551CC #CC7851 #67CC51
square
#51A5CC #B551CC #CC7851 #67CC51
split-complementary
#51A5CC #CC5167 #CCB551
monochromatic
#25627E #3386AD #51A5CC #80BDDA #B0D6E8

Accessibility & contrast

On white

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

On black

7.60
#51A5CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A5CC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A5CC#FFFFFF#000000##000000
##51A5CC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a5cc;
/* rgb */ color: rgb(81, 165, 204);
/* oklch */ color: oklch(68.5% 0.099 230.7);
Tailwind
colors: {
  custom: {
    50: '#8dbfdb',
    500: '#51a5cc',
    950: '#000000',
  },
}
SCSS
$custom: #51a5cc;
$custom-light: #8dbfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#51a5cc",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 204
  },
  "hsl": {
    "h": 199.024,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6853,
    "c": 0.09941,
    "h": 230.7
  },
  "luminance": 0.33019
}

Semantic roles & 50–950 ramp

primary
#51A5CC
secondary
#D6B3A3
accent
#794ADE
background
#F9FBFD
surface
#F1F7FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #51A5CC

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

Preview Lab → · Contrast checker → · Palette generator →

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