#51A7DD#51A7DD

#51A7DD is a light, moderate cyan. Relative luminance 0.346; OKLCH L 69.8% C 0.115 H 239.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#51A7DD
RGBrgb(81, 167, 221)
HSLhsl(203, 67%, 59%)
HSVhsv(203, 63%, 87%)
CMYKcmyk(63.3%, 24.4%, 0%, 13.3%)
CIE-LABlab(65.44, -9.63, -35.01)
CIE-LCHlch(65.44, 36.31, 254.63°)
OKLaboklab(69.76% -0.0592 -0.0984)
OKLCHoklch(69.76% 0.115 239)
XYZxyz(30.2582, 34.6042, 73.4772)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A7DD #DD8751
analogous
#51DDCD #51A7DD #5161DD
triadic
#51A7DD #DD51A7 #A7DD51
tetradic
#51A7DD #CD51DD #DD8751 #61DD51
square
#51A7DD #CD51DD #DD8751 #61DD51
split-complementary
#51A7DD #DD5161 #DDCD51
monochromatic
#1D6896 #278BC9 #51A7DD #84C1E7 #B7DBF1

Accessibility & contrast

On white

2.65
#51A7DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#51A7DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A7DD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A7DD#FFFFFF#000000##000000
##51A7DD1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E0
Deuteranopia (green-blind)
#7B99DC
Tritanopia (blue-blind)
#00B5B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51a7dd;
/* rgb */ color: rgb(81, 167, 221);
/* oklch */ color: oklch(69.8% 0.115 239.0);
Tailwind
colors: {
  custom: {
    50: '#8fc1e7',
    500: '#51a7dd',
    950: '#000000',
  },
}
SCSS
$custom: #51a7dd;
$custom-light: #8fc1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#51a7dd",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 221
  },
  "hsl": {
    "h": 203.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.69762,
    "c": 0.11478,
    "h": 239
  },
  "luminance": 0.34607
}

Semantic roles & 50–950 ramp

primary
#51A7DD
secondary
#E0BFAA
accent
#803EEA
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #51A7DD

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

Preview Lab → · Contrast checker → · Palette generator →

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