#51A6DA#51A6DA

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

Color values

HEX#51A6DA
RGBrgb(81, 166, 218)
HSLhsl(203, 65%, 59%)
HSVhsv(203, 63%, 85%)
CMYKcmyk(62.8%, 23.9%, 0%, 14.5%)
CIE-LABlab(65.03, -10.04, -34.00)
CIE-LCHlch(65.03, 35.45, 253.55°)
OKLaboklab(69.39% -0.0591 -0.0954)
OKLCHoklch(69.39% 0.112 238.2)
XYZxyz(29.6796, 34.0807, 71.3302)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A6DA #DA8551
analogous
#51DACA #51A6DA #5161DA
triadic
#51A6DA #DA51A6 #A6DA51
tetradic
#51A6DA #CA51DA #DA8551 #61DA51
square
#51A6DA #CA51DA #DA8551 #61DA51
split-complementary
#51A6DA #DA5161 #DACA51
monochromatic
#1F6692 #2A89C4 #51A6DA #83C0E5 #B6DAEF

Accessibility & contrast

On white

2.69
#51A6DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#51A6DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A6DA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A6DA#FFFFFF#000000##000000
##51A6DA1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a6da;
/* rgb */ color: rgb(81, 166, 218);
/* oklch */ color: oklch(69.4% 0.112 238.2);
Tailwind
colors: {
  custom: {
    50: '#8ec0e5',
    500: '#51a6da',
    950: '#000000',
  },
}
SCSS
$custom: #51a6da;
$custom-light: #8ec0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#51a6da",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 218
  },
  "hsl": {
    "h": 202.774,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.69394,
    "c": 0.11226,
    "h": 238.2
  },
  "luminance": 0.34084
}

Semantic roles & 50–950 ramp

primary
#51A6DA
secondary
#DEBDA8
accent
#8040E8
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0D1215
muted
#7E8184

Preview Lab

Preview with #51A6DA

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

Preview Lab → · Contrast checker → · Palette generator →

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