#51A6DB#51A6DB

#51A6DB is a light, moderate cyan. Relative luminance 0.341; OKLCH L 69.4% C 0.113 H 238.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#51A6DB
RGBrgb(81, 166, 219)
HSLhsl(203, 66%, 59%)
HSVhsv(203, 63%, 86%)
CMYKcmyk(63%, 24.2%, 0%, 14.1%)
CIE-LABlab(65.07, -9.72, -34.49)
CIE-LCHlch(65.07, 35.83, 254.27°)
OKLaboklab(69.44% -0.0588 -0.0968)
OKLCHoklch(69.44% 0.113 238.7)
XYZxyz(29.8109, 34.1332, 72.0214)
Luminance0.3414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A6DB #DB8651
analogous
#51DBCB #51A6DB #5161DB
triadic
#51A6DB #DB51A6 #A6DB51
tetradic
#51A6DB #CB51DB #DB8651 #61DB51
square
#51A6DB #CB51DB #DB8651 #61DB51
split-complementary
#51A6DB #DB5161 #DBCB51
monochromatic
#1E6693 #298AC6 #51A6DB #84C0E5 #B6DAF0

Accessibility & contrast

On white

2.68
#51A6DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#51A6DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A6DB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A6DB#FFFFFF#000000##000000
##51A6DB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DD
Deuteranopia (green-blind)
#7B98DA
Tritanopia (blue-blind)
#00B3B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51a6db;
/* rgb */ color: rgb(81, 166, 219);
/* oklch */ color: oklch(69.4% 0.113 238.7);
Tailwind
colors: {
  custom: {
    50: '#8ec0e6',
    500: '#51a6db',
    950: '#000000',
  },
}
SCSS
$custom: #51a6db;
$custom-light: #8ec0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#51a6db",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 219
  },
  "hsl": {
    "h": 203.043,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6944,
    "c": 0.11329,
    "h": 238.7
  },
  "luminance": 0.34136
}

Semantic roles & 50–950 ramp

primary
#51A6DB
secondary
#DFBEA9
accent
#803FE9
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A6DB

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

Preview Lab → · Contrast checker → · Palette generator →

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