#51A2DB#51A2DB

#51A2DB is a light, moderate cyan. Relative luminance 0.327; OKLCH L 68.5% C 0.116 H 241.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#51A2DB
RGBrgb(81, 162, 219)
HSLhsl(205, 66%, 59%)
HSVhsv(205, 63%, 86%)
CMYKcmyk(63%, 26%, 0%, 14.1%)
CIE-LABlab(63.92, -7.50, -36.28)
CIE-LCHlch(63.92, 37.04, 258.32°)
OKLaboklab(68.53% -0.0546 -0.102)
OKLCHoklch(68.53% 0.116 241.8)
XYZxyz(29.0950, 32.7016, 71.7828)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A2DB #DB8A51
analogous
#51DBCF #51A2DB #515DDB
triadic
#51A2DB #DB51A2 #A2DB51
tetradic
#51A2DB #CF51DB #DB8A51 #5DDB51
square
#51A2DB #CF51DB #DB8A51 #5DDB51
split-complementary
#51A2DB #DB515D #DBCF51
monochromatic
#1E6393 #2985C6 #51A2DB #84BDE5 #B6D8F0

Accessibility & contrast

On white

2.78
#51A2DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#51A2DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A2DB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A2DB#FFFFFF#000000##000000
##51A2DB1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3DE
Deuteranopia (green-blind)
#7695DA
Tritanopia (blue-blind)
#00B0B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #51a2db;
/* rgb */ color: rgb(81, 162, 219);
/* oklch */ color: oklch(68.5% 0.116 241.8);
Tailwind
colors: {
  custom: {
    50: '#8ebde6',
    500: '#51a2db',
    950: '#000000',
  },
}
SCSS
$custom: #51a2db;
$custom-light: #8ebde6;
$custom-dark: #000000;
JSON
{
  "hex": "#51a2db",
  "rgb": {
    "r": 81,
    "g": 162,
    "b": 219
  },
  "hsl": {
    "h": 204.783,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6853,
    "c": 0.11574,
    "h": 241.8
  },
  "luminance": 0.32704
}

Semantic roles & 50–950 ramp

primary
#51A2DB
secondary
#DFBFA9
accent
#853FE9
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #51A2DB

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

Preview Lab → · Contrast checker → · Palette generator →

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