#51A2D7#51A2D7

#51A2D7 is a light, moderate cyan. Relative luminance 0.325; OKLCH L 68.3% C 0.111 H 239.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#51A2D7
RGBrgb(81, 162, 215)
HSLhsl(204, 63%, 58%)
HSVhsv(204, 62%, 84%)
CMYKcmyk(62.3%, 24.7%, 0%, 15.7%)
CIE-LABlab(63.75, -8.79, -34.33)
CIE-LCHlch(63.75, 35.43, 255.64°)
OKLaboklab(68.34% -0.0559 -0.0964)
OKLCHoklch(68.34% 0.111 239.9)
XYZxyz(28.5748, 32.4935, 69.0428)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A2D7 #D78651
analogous
#51D7C9 #51A2D7 #515FD7
triadic
#51A2D7 #D751A2 #A2D751
tetradic
#51A2D7 #C951D7 #D78651 #5FD751
square
#51A2D7 #C951D7 #D78651 #5FD751
split-complementary
#51A2D7 #D7515F #D7C951
monochromatic
#20628D #2C85BF #51A2D7 #83BDE2 #B5D7EE

Accessibility & contrast

On white

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

On black

7.50
#51A2D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A2D7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A2D7#FFFFFF#000000##000000
##51A2D71.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA2D9
Deuteranopia (green-blind)
#7894D6
Tritanopia (blue-blind)
#00AFB4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #51a2d7;
/* rgb */ color: rgb(81, 162, 215);
/* oklch */ color: oklch(68.3% 0.111 239.9);
Tailwind
colors: {
  custom: {
    50: '#8ebde3',
    500: '#51a2d7',
    950: '#000000',
  },
}
SCSS
$custom: #51a2d7;
$custom-light: #8ebde3;
$custom-dark: #000000;
JSON
{
  "hex": "#51a2d7",
  "rgb": {
    "r": 81,
    "g": 162,
    "b": 215
  },
  "hsl": {
    "h": 203.731,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.68339,
    "c": 0.11145,
    "h": 239.9
  },
  "luminance": 0.32496
}

Semantic roles & 50–950 ramp

primary
#51A2D7
secondary
#DDBCA7
accent
#8342E6
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #51A2D7

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

Preview Lab → · Contrast checker → · Palette generator →

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