#51A5DA#51A5DA

#51A5DA is a light, moderate cyan. Relative luminance 0.337; OKLCH L 69.2% C 0.113 H 239.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#51A5DA
RGBrgb(81, 165, 218)
HSLhsl(203, 65%, 59%)
HSVhsv(203, 63%, 85%)
CMYKcmyk(62.8%, 24.3%, 0%, 14.5%)
CIE-LABlab(64.74, -9.49, -34.45)
CIE-LCHlch(64.74, 35.73, 254.60°)
OKLaboklab(69.16% -0.0581 -0.0967)
OKLCHoklch(69.16% 0.113 239)
XYZxyz(29.4985, 33.7186, 71.2698)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A5DA #DA8651
analogous
#51DACB #51A5DA #5160DA
triadic
#51A5DA #DA51A5 #A5DA51
tetradic
#51A5DA #CB51DA #DA8651 #60DA51
square
#51A5DA #CB51DA #DA8651 #60DA51
split-complementary
#51A5DA #DA5160 #DACB51
monochromatic
#1F6592 #2A88C4 #51A5DA #83BFE5 #B6D9EF

Accessibility & contrast

On white

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

On black

7.74
#51A5DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A5DA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A5DA#FFFFFF#000000##000000
##51A5DA1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA5DC
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#00B2B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51a5da;
/* rgb */ color: rgb(81, 165, 218);
/* oklch */ color: oklch(69.2% 0.113 239.0);
Tailwind
colors: {
  custom: {
    50: '#8ebfe5',
    500: '#51a5da',
    950: '#000000',
  },
}
SCSS
$custom: #51a5da;
$custom-light: #8ebfe5;
$custom-dark: #000000;
JSON
{
  "hex": "#51a5da",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 218
  },
  "hsl": {
    "h": 203.212,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.69165,
    "c": 0.11283,
    "h": 239
  },
  "luminance": 0.33722
}

Semantic roles & 50–950 ramp

primary
#51A5DA
secondary
#DEBDA8
accent
#8140E8
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A5DA

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

Preview Lab → · Contrast checker → · Palette generator →

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