#51A8DB#51A8DB

#51A8DB is a light, moderate cyan. Relative luminance 0.349; OKLCH L 69.9% C 0.112 H 237.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#51A8DB
RGBrgb(81, 168, 219)
HSLhsl(202, 66%, 59%)
HSVhsv(202, 63%, 86%)
CMYKcmyk(63%, 23.3%, 0%, 14.1%)
CIE-LABlab(65.64, -10.81, -33.59)
CIE-LCHlch(65.64, 35.29, 252.16°)
OKLaboklab(69.9% -0.0609 -0.0942)
OKLCHoklch(69.9% 0.112 237.1)
XYZxyz(30.1773, 34.8660, 72.1436)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A8DB #DB8451
analogous
#51DBC9 #51A8DB #5163DB
triadic
#51A8DB #DB51A8 #A8DB51
tetradic
#51A8DB #C951DB #DB8451 #63DB51
square
#51A8DB #C951DB #DB8451 #63DB51
split-complementary
#51A8DB #DB5163 #DBC951
monochromatic
#1E6893 #298CC6 #51A8DB #84C1E5 #B6DBF0

Accessibility & contrast

On white

2.63
#51A8DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#51A8DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A8DB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A8DB#FFFFFF#000000##000000
##51A8DB1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DD
Deuteranopia (green-blind)
#7D99DA
Tritanopia (blue-blind)
#00B5B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51a8db;
/* rgb */ color: rgb(81, 168, 219);
/* oklch */ color: oklch(69.9% 0.112 237.1);
Tailwind
colors: {
  custom: {
    50: '#8fc1e6',
    500: '#51a8db',
    950: '#000000',
  },
}
SCSS
$custom: #51a8db;
$custom-light: #8fc1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#51a8db",
  "rgb": {
    "r": 81,
    "g": 168,
    "b": 219
  },
  "hsl": {
    "h": 202.174,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.69897,
    "c": 0.1122,
    "h": 237.1
  },
  "luminance": 0.34869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51A8DB

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

Preview Lab → · Contrast checker → · Palette generator →

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