#51A7CC#51A7CC

#51A7CC is a light, moderate cyan. Relative luminance 0.337; OKLCH L 69.0% C 0.099 H 228.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#51A7CC
RGBrgb(81, 167, 204)
HSLhsl(198, 55%, 56%)
HSVhsv(198, 60%, 80%)
CMYKcmyk(60.3%, 18.1%, 0%, 20%)
CIE-LABlab(64.76, -14.98, -26.66)
CIE-LCHlch(64.76, 30.58, 240.67°)
OKLaboklab(69% -0.0651 -0.0744)
OKLCHoklch(69% 0.099 228.8)
XYZxyz(28.1069, 33.7436, 62.1470)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A7CC #CC7651
analogous
#51CCB4 #51A7CC #5169CC
triadic
#51A7CC #CC51A7 #A7CC51
tetradic
#51A7CC #B451CC #CC7651 #69CC51
square
#51A7CC #B451CC #CC7651 #69CC51
split-complementary
#51A7CC #CC5169 #CCB451
monochromatic
#25637E #3388AD #51A7CC #80BFDA #B0D7E8

Accessibility & contrast

On white

2.71
#51A7CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#51A7CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A7CC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A7CC#FFFFFF#000000##000000
##51A7CC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CE
Deuteranopia (green-blind)
#8397CC
Tritanopia (blue-blind)
#00B1B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51a7cc;
/* rgb */ color: rgb(81, 167, 204);
/* oklch */ color: oklch(69.0% 0.099 228.8);
Tailwind
colors: {
  custom: {
    50: '#8dc1db',
    500: '#51a7cc',
    950: '#000000',
  },
}
SCSS
$custom: #51a7cc;
$custom-light: #8dc1db;
$custom-dark: #000000;
JSON
{
  "hex": "#51a7cc",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 204
  },
  "hsl": {
    "h": 198.049,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.68996,
    "c": 0.09884,
    "h": 228.8
  },
  "luminance": 0.33746
}

Semantic roles & 50–950 ramp

primary
#51A7CC
secondary
#D6B2A3
accent
#764ADE
background
#F9FBFD
surface
#F1F7FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #51A7CC

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

Preview Lab → · Contrast checker → · Palette generator →

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