#51A7C8#51A7C8

#51A7C8 is a light, moderate cyan. Relative luminance 0.336; OKLCH L 68.8% C 0.096 H 225.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#51A7C8
RGBrgb(81, 167, 200)
HSLhsl(197, 52%, 55%)
HSVhsv(197, 60%, 78%)
CMYKcmyk(59.5%, 16.5%, 0%, 21.6%)
CIE-LABlab(64.61, -16.21, -24.67)
CIE-LCHlch(64.61, 29.52, 236.69°)
OKLaboklab(68.83% -0.0666 -0.0687)
OKLCHoklch(68.83% 0.096 225.9)
XYZxyz(27.6333, 33.5542, 59.6527)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A7C8 #C87251
analogous
#51C8AE #51A7C8 #516BC8
triadic
#51A7C8 #C851A7 #A7C851
tetradic
#51A7C8 #AE51C8 #C87251 #6BC851
square
#51A7C8 #AE51C8 #C87251 #6BC851
split-complementary
#51A7C8 #C8516B #C8AE51
monochromatic
#266279 #3587A7 #51A7C8 #80BFD7 #AED6E5

Accessibility & contrast

On white

2.72
#51A7C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#51A7C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A7C8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A7C8#FFFFFF#000000##000000
##51A7C81.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A4CA
Deuteranopia (green-blind)
#8497C8
Tritanopia (blue-blind)
#00B1B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51a7c8;
/* rgb */ color: rgb(81, 167, 200);
/* oklch */ color: oklch(68.8% 0.096 225.9);
Tailwind
colors: {
  custom: {
    50: '#8cc1d8',
    500: '#51a7c8',
    950: '#000000',
  },
}
SCSS
$custom: #51a7c8;
$custom-light: #8cc1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#51a7c8",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 200
  },
  "hsl": {
    "h": 196.639,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.09568,
    "h": 225.9
  },
  "luminance": 0.33557
}

Semantic roles & 50–950 ramp

primary
#51A7C8
secondary
#D3AFA1
accent
#744CDB
background
#F9FBFD
surface
#F1F7FA
border
#CBD0D3
text
#0D1214
muted
#7E8183

Preview Lab

Preview with #51A7C8

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

Preview Lab → · Contrast checker → · Palette generator →

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