#51A2D8#51A2D8

#51A2D8 is a light, moderate cyan. Relative luminance 0.325; OKLCH L 68.4% C 0.113 H 240.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#51A2D8
RGBrgb(81, 162, 216)
HSLhsl(204, 63%, 58%)
HSVhsv(204, 63%, 85%)
CMYKcmyk(62.5%, 25%, 0%, 15.3%)
CIE-LABlab(63.79, -8.47, -34.81)
CIE-LCHlch(63.79, 35.83, 256.33°)
OKLaboklab(68.39% -0.0556 -0.0978)
OKLCHoklch(68.39% 0.113 240.4)
XYZxyz(28.7036, 32.5450, 69.7216)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A2D8 #D88751
analogous
#51D8CA #51A2D8 #515ED8
triadic
#51A2D8 #D851A2 #A2D851
tetradic
#51A2D8 #CA51D8 #D88751 #5ED851
square
#51A2D8 #CA51D8 #D88751 #5ED851
split-complementary
#51A2D8 #D8515E #D8CA51
monochromatic
#20628F #2B85C1 #51A2D8 #83BDE3 #B5D7EE

Accessibility & contrast

On white

2.80
#51A2D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#51A2D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A2D8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A2D8#FFFFFF#000000##000000
##51A2D81.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA2DA
Deuteranopia (green-blind)
#7795D7
Tritanopia (blue-blind)
#00AFB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #51a2d8;
/* rgb */ color: rgb(81, 162, 216);
/* oklch */ color: oklch(68.4% 0.113 240.4);
Tailwind
colors: {
  custom: {
    50: '#8ebde4',
    500: '#51a2d8',
    950: '#000000',
  },
}
SCSS
$custom: #51a2d8;
$custom-light: #8ebde4;
$custom-dark: #000000;
JSON
{
  "hex": "#51a2d8",
  "rgb": {
    "r": 81,
    "g": 162,
    "b": 216
  },
  "hsl": {
    "h": 204,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.68386,
    "c": 0.1125,
    "h": 240.4
  },
  "luminance": 0.32548
}

Semantic roles & 50–950 ramp

primary
#51A2D8
secondary
#DDBDA8
accent
#8341E6
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #51A2D8

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

Preview Lab → · Contrast checker → · Palette generator →

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