#51A7DF#51A7DF

#51A7DF is a light, moderate cyan. Relative luminance 0.347; OKLCH L 69.9% C 0.117 H 239.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#51A7DF
RGBrgb(81, 167, 223)
HSLhsl(204, 69%, 60%)
HSVhsv(204, 64%, 87%)
CMYKcmyk(63.7%, 25.1%, 0%, 12.5%)
CIE-LABlab(65.52, -8.98, -35.98)
CIE-LCHlch(65.52, 37.09, 255.98°)
OKLaboklab(69.86% -0.0585 -0.1011)
OKLCHoklch(69.86% 0.117 239.9)
XYZxyz(30.5263, 34.7114, 74.8889)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A7DF #DF8951
analogous
#51DFD0 #51A7DF #5160DF
triadic
#51A7DF #DF51A7 #A7DF51
tetradic
#51A7DF #D051DF #DF8951 #60DF51
square
#51A7DF #D051DF #DF8951 #60DF51
split-complementary
#51A7DF #DF5160 #DFD051
monochromatic
#1C6899 #268BCD #51A7DF #85C1E9 #B8DBF2

Accessibility & contrast

On white

2.64
#51A7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#51A7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A7DF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A7DF#FFFFFF#000000##000000
##51A7DF1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#7A99DE
Tritanopia (blue-blind)
#00B5BA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51a7df;
/* rgb */ color: rgb(81, 167, 223);
/* oklch */ color: oklch(69.9% 0.117 239.9);
Tailwind
colors: {
  custom: {
    50: '#8fc1e9',
    500: '#51a7df',
    950: '#000000',
  },
}
SCSS
$custom: #51a7df;
$custom-light: #8fc1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#51a7df",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 203.662,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.69856,
    "c": 0.11686,
    "h": 239.9
  },
  "luminance": 0.34714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51A7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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