#51A1DA#51A1DA

#51A1DA is a light, moderate cyan. Relative luminance 0.323; OKLCH L 68.3% C 0.115 H 242.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#51A1DA
RGBrgb(81, 161, 218)
HSLhsl(205, 65%, 59%)
HSVhsv(205, 63%, 85%)
CMYKcmyk(62.8%, 26.1%, 0%, 14.5%)
CIE-LABlab(63.59, -7.27, -36.24)
CIE-LCHlch(63.59, 36.96, 258.66°)
OKLaboklab(68.26% -0.0539 -0.1019)
OKLCHoklch(68.26% 0.115 242.1)
XYZxyz(28.7883, 32.2982, 71.0331)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A1DA #DA8A51
analogous
#51DACF #51A1DA #515CDA
triadic
#51A1DA #DA51A1 #A1DA51
tetradic
#51A1DA #CF51DA #DA8A51 #5CDA51
square
#51A1DA #CF51DA #DA8A51 #5CDA51
split-complementary
#51A1DA #DA515C #DACF51
monochromatic
#1F6292 #2A84C4 #51A1DA #83BCE5 #B6D8EF

Accessibility & contrast

On white

2.81
#51A1DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#51A1DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A1DA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A1DA#FFFFFF#000000##000000
##51A1DA1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DD
Deuteranopia (green-blind)
#7594D9
Tritanopia (blue-blind)
#00AFB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #51a1da;
/* rgb */ color: rgb(81, 161, 218);
/* oklch */ color: oklch(68.3% 0.115 242.1);
Tailwind
colors: {
  custom: {
    50: '#8ebce5',
    500: '#51a1da',
    950: '#000000',
  },
}
SCSS
$custom: #51a1da;
$custom-light: #8ebce5;
$custom-dark: #000000;
JSON
{
  "hex": "#51a1da",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 218
  },
  "hsl": {
    "h": 204.964,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.68255,
    "c": 0.1153,
    "h": 242.1
  },
  "luminance": 0.32301
}

Semantic roles & 50–950 ramp

primary
#51A1DA
secondary
#DEBFA8
accent
#8640E8
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A1DA

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

Preview Lab → · Contrast checker → · Palette generator →

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