#51A7DB#51A7DB

#51A7DB is a light, moderate cyan. Relative luminance 0.345; OKLCH L 69.7% C 0.113 H 237.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#51A7DB
RGBrgb(81, 167, 219)
HSLhsl(203, 66%, 59%)
HSVhsv(203, 63%, 86%)
CMYKcmyk(63%, 23.7%, 0%, 14.1%)
CIE-LABlab(65.36, -10.27, -34.04)
CIE-LCHlch(65.36, 35.55, 253.22°)
OKLaboklab(69.67% -0.0598 -0.0955)
OKLCHoklch(69.67% 0.113 237.9)
XYZxyz(29.9934, 34.4982, 72.0823)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A7DB #DB8551
analogous
#51DBCA #51A7DB #5162DB
triadic
#51A7DB #DB51A7 #A7DB51
tetradic
#51A7DB #CA51DB #DB8551 #62DB51
square
#51A7DB #CA51DB #DB8551 #62DB51
split-complementary
#51A7DB #DB5162 #DBCA51
monochromatic
#1E6793 #298BC6 #51A7DB #84C1E5 #B6DAF0

Accessibility & contrast

On white

2.66
#51A7DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#51A7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A7DB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A7DB#FFFFFF#000000##000000
##51A7DB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA6DD
Deuteranopia (green-blind)
#7C99DA
Tritanopia (blue-blind)
#00B4B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51a7db;
/* rgb */ color: rgb(81, 167, 219);
/* oklch */ color: oklch(69.7% 0.113 237.9);
Tailwind
colors: {
  custom: {
    50: '#8fc1e6',
    500: '#51a7db',
    950: '#000000',
  },
}
SCSS
$custom: #51a7db;
$custom-light: #8fc1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#51a7db",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 219
  },
  "hsl": {
    "h": 202.609,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.69669,
    "c": 0.11273,
    "h": 237.9
  },
  "luminance": 0.34501
}

Semantic roles & 50–950 ramp

primary
#51A7DB
secondary
#DFBDA9
accent
#7F3FE9
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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