#51A5DF#51A5DF

#51A5DF is a light, moderate cyan. Relative luminance 0.340; OKLCH L 69.4% C 0.118 H 241.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#51A5DF
RGBrgb(81, 165, 223)
HSLhsl(205, 69%, 60%)
HSVhsv(205, 64%, 87%)
CMYKcmyk(63.7%, 26%, 0%, 12.5%)
CIE-LABlab(64.95, -7.88, -36.88)
CIE-LCHlch(64.95, 37.71, 257.94°)
OKLaboklab(69.4% -0.0565 -0.1037)
OKLCHoklch(69.4% 0.118 241.4)
XYZxyz(30.1627, 33.9843, 74.7678)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A5DF #DF8B51
analogous
#51DFD2 #51A5DF #515EDF
triadic
#51A5DF #DF51A5 #A5DF51
tetradic
#51A5DF #D251DF #DF8B51 #5EDF51
square
#51A5DF #D251DF #DF8B51 #5EDF51
split-complementary
#51A5DF #DF515E #DFD251
monochromatic
#1C6699 #2689CD #51A5DF #85C0E9 #B8DAF2

Accessibility & contrast

On white

2.69
#51A5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#51A5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A5DF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A5DF#FFFFFF#000000##000000
##51A5DF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5E2
Deuteranopia (green-blind)
#7797DE
Tritanopia (blue-blind)
#00B3B9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51a5df;
/* rgb */ color: rgb(81, 165, 223);
/* oklch */ color: oklch(69.4% 0.118 241.4);
Tailwind
colors: {
  custom: {
    50: '#8fbfe9',
    500: '#51a5df',
    950: '#000000',
  },
}
SCSS
$custom: #51a5df;
$custom-light: #8fbfe9;
$custom-dark: #000000;
JSON
{
  "hex": "#51a5df",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 223
  },
  "hsl": {
    "h": 204.507,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.69402,
    "c": 0.11811,
    "h": 241.4
  },
  "luminance": 0.33987
}

Semantic roles & 50–950 ramp

primary
#51A5DF
secondary
#E1C1AA
accent
#843CEC
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #51A5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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