#51A6CB#51A6CB

#51A6CB is a light, moderate cyan. Relative luminance 0.333; OKLCH L 68.7% C 0.098 H 229.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#51A6CB
RGBrgb(81, 166, 203)
HSLhsl(198, 54%, 56%)
HSVhsv(198, 60%, 80%)
CMYKcmyk(60.1%, 18.2%, 0%, 20.4%)
CIE-LABlab(64.43, -14.75, -26.62)
CIE-LCHlch(64.43, 30.43, 241.00°)
OKLaboklab(68.72% -0.0644 -0.0743)
OKLCHoklch(68.72% 0.098 229.1)
XYZxyz(27.8049, 33.3308, 61.4565)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A6CB #CB7651
analogous
#51CBB3 #51A6CB #5169CB
triadic
#51A6CB #CB51A6 #A6CB51
tetradic
#51A6CB #B351CB #CB7651 #69CB51
square
#51A6CB #B351CB #CB7651 #69CB51
split-complementary
#51A6CB #CB5169 #CBB351
monochromatic
#25627C #3387AC #51A6CB #80BED9 #AFD6E7

Accessibility & contrast

On white

2.74
#51A6CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#51A6CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A6CB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A6CB#FFFFFF#000000##000000
##51A6CB1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A3CD
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#00B0B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #51a6cb;
/* rgb */ color: rgb(81, 166, 203);
/* oklch */ color: oklch(68.7% 0.098 229.1);
Tailwind
colors: {
  custom: {
    50: '#8dc0db',
    500: '#51a6cb',
    950: '#000000',
  },
}
SCSS
$custom: #51a6cb;
$custom-light: #8dc0db;
$custom-dark: #000000;
JSON
{
  "hex": "#51a6cb",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 203
  },
  "hsl": {
    "h": 198.197,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6872,
    "c": 0.09828,
    "h": 229.1
  },
  "luminance": 0.33334
}

Semantic roles & 50–950 ramp

primary
#51A6CB
secondary
#D5B2A3
accent
#774ADD
background
#F9FBFD
surface
#F1F7FA
border
#CBD0D3
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #51A6CB

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

Preview Lab → · Contrast checker → · Palette generator →

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