#51A8CB#51A8CB

#51A8CB is a light, moderate cyan. Relative luminance 0.341; OKLCH L 69.2% C 0.098 H 227.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#51A8CB
RGBrgb(81, 168, 203)
HSLhsl(197, 54%, 56%)
HSVhsv(197, 60%, 80%)
CMYKcmyk(60.1%, 17.2%, 0%, 20.4%)
CIE-LABlab(65.01, -15.82, -25.72)
CIE-LCHlch(65.01, 30.20, 238.39°)
OKLaboklab(69.19% -0.0665 -0.0717)
OKLCHoklch(69.19% 0.098 227.1)
XYZxyz(28.1713, 34.0636, 61.5786)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A8CB #CB7451
analogous
#51CBB1 #51A8CB #516BCB
triadic
#51A8CB #CB51A8 #A8CB51
tetradic
#51A8CB #B151CB #CB7451 #6BCB51
square
#51A8CB #B151CB #CB7451 #6BCB51
split-complementary
#51A8CB #CB516B #CBB151
monochromatic
#25637C #3389AC #51A8CB #80C0D9 #AFD7E7

Accessibility & contrast

On white

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

On black

7.81
#51A8CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A8CB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A8CB#FFFFFF#000000##000000
##51A8CB1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CD
Deuteranopia (green-blind)
#8498CB
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51a8cb;
/* rgb */ color: rgb(81, 168, 203);
/* oklch */ color: oklch(69.2% 0.098 227.1);
Tailwind
colors: {
  custom: {
    50: '#8dc2db',
    500: '#51a8cb',
    950: '#000000',
  },
}
SCSS
$custom: #51a8cb;
$custom-light: #8dc2db;
$custom-dark: #000000;
JSON
{
  "hex": "#51a8cb",
  "rgb": {
    "r": 81,
    "g": 168,
    "b": 203
  },
  "hsl": {
    "h": 197.213,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.69186,
    "c": 0.0978,
    "h": 227.1
  },
  "luminance": 0.34066
}

Semantic roles & 50–950 ramp

primary
#51A8CB
secondary
#D5B1A3
accent
#754ADD
background
#F9FBFD
surface
#F1F7FA
border
#CBD0D3
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #51A8CB

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

Preview Lab → · Contrast checker → · Palette generator →

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