#51A6DF#51A6DF

#51A6DF is a light, moderate cyan. Relative luminance 0.343; OKLCH L 69.6% C 0.117 H 240.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#51A6DF
RGBrgb(81, 166, 223)
HSLhsl(204, 69%, 60%)
HSVhsv(204, 64%, 87%)
CMYKcmyk(63.7%, 25.6%, 0%, 12.5%)
CIE-LABlab(65.24, -8.43, -36.43)
CIE-LCHlch(65.24, 37.39, 256.97°)
OKLaboklab(69.63% -0.0575 -0.1024)
OKLCHoklch(69.63% 0.117 240.7)
XYZxyz(30.3438, 34.3464, 74.8281)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A6DF #DF8A51
analogous
#51DFD1 #51A6DF #515FDF
triadic
#51A6DF #DF51A6 #A6DF51
tetradic
#51A6DF #D151DF #DF8A51 #5FDF51
square
#51A6DF #D151DF #DF8A51 #5FDF51
split-complementary
#51A6DF #DF515F #DFD151
monochromatic
#1C6799 #268ACD #51A6DF #85C0E9 #B8DBF2

Accessibility & contrast

On white

2.67
#51A6DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#51A6DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A6DF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A6DF#FFFFFF#000000##000000
##51A6DF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E2
Deuteranopia (green-blind)
#7998DE
Tritanopia (blue-blind)
#00B4BA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51a6df;
/* rgb */ color: rgb(81, 166, 223);
/* oklch */ color: oklch(69.6% 0.117 240.7);
Tailwind
colors: {
  custom: {
    50: '#8fc0e9',
    500: '#51a6df',
    950: '#000000',
  },
}
SCSS
$custom: #51a6df;
$custom-light: #8fc0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#51a6df",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 223
  },
  "hsl": {
    "h": 204.085,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.69629,
    "c": 0.11748,
    "h": 240.7
  },
  "luminance": 0.34349
}

Semantic roles & 50–950 ramp

primary
#51A6DF
secondary
#E1C0AA
accent
#833CEC
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #51A6DF

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

Preview Lab → · Contrast checker → · Palette generator →

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