#51A8DF#51A8DF

#51A8DF is a light, moderate cyan. Relative luminance 0.351; OKLCH L 70.1% C 0.116 H 239.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#51A8DF
RGBrgb(81, 168, 223)
HSLhsl(203, 69%, 60%)
HSVhsv(203, 64%, 87%)
CMYKcmyk(63.7%, 24.7%, 0%, 12.5%)
CIE-LABlab(65.81, -9.53, -35.54)
CIE-LCHlch(65.81, 36.79, 254.98°)
OKLaboklab(70.08% -0.0595 -0.0998)
OKLCHoklch(70.08% 0.116 239.2)
XYZxyz(30.7102, 35.0792, 74.9502)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A8DF #DF8851
analogous
#51DFCF #51A8DF #5161DF
triadic
#51A8DF #DF51A8 #A8DF51
tetradic
#51A8DF #CF51DF #DF8851 #61DF51
square
#51A8DF #CF51DF #DF8851 #61DF51
split-complementary
#51A8DF #DF5161 #DFCF51
monochromatic
#1C6999 #268CCD #51A8DF #85C2E9 #B8DCF2

Accessibility & contrast

On white

2.62
#51A8DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#51A8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A8DF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A8DF#FFFFFF#000000##000000
##51A8DF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E2
Deuteranopia (green-blind)
#7B9ADE
Tritanopia (blue-blind)
#00B6BB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #51a8df;
/* rgb */ color: rgb(81, 168, 223);
/* oklch */ color: oklch(70.1% 0.116 239.2);
Tailwind
colors: {
  custom: {
    50: '#8fc1e9',
    500: '#51a8df',
    950: '#000000',
  },
}
SCSS
$custom: #51a8df;
$custom-light: #8fc1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#51a8df",
  "rgb": {
    "r": 81,
    "g": 168,
    "b": 223
  },
  "hsl": {
    "h": 203.239,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.70084,
    "c": 0.11626,
    "h": 239.2
  },
  "luminance": 0.35082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51A8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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