#51A5CB#51A5CB

#51A5CB is a light, moderate cyan. Relative luminance 0.330; OKLCH L 68.5% C 0.099 H 230.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#51A5CB
RGBrgb(81, 165, 203)
HSLhsl(199, 54%, 56%)
HSVhsv(199, 60%, 80%)
CMYKcmyk(60.1%, 18.7%, 0%, 20.4%)
CIE-LABlab(64.14, -14.22, -27.07)
CIE-LCHlch(64.14, 30.57, 242.29°)
OKLaboklab(68.49% -0.0633 -0.0756)
OKLCHoklch(68.49% 0.099 230)
XYZxyz(27.6238, 32.9687, 61.3962)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A5CB #CB7751
analogous
#51CBB4 #51A5CB #5168CB
triadic
#51A5CB #CB51A5 #A5CB51
tetradic
#51A5CB #B451CB #CB7751 #68CB51
square
#51A5CB #B451CB #CB7751 #68CB51
split-complementary
#51A5CB #CB5168 #CBB451
monochromatic
#25617C #3386AC #51A5CB #80BDD9 #AFD6E7

Accessibility & contrast

On white

2.77
#51A5CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#51A5CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A5CB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A5CB#FFFFFF#000000##000000
##51A5CB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A3CD
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#00B0B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #51a5cb;
/* rgb */ color: rgb(81, 165, 203);
/* oklch */ color: oklch(68.5% 0.099 230.0);
Tailwind
colors: {
  custom: {
    50: '#8dbfdb',
    500: '#51a5cb',
    950: '#000000',
  },
}
SCSS
$custom: #51a5cb;
$custom-light: #8dbfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#51a5cb",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 203
  },
  "hsl": {
    "h": 198.689,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.68487,
    "c": 0.09856,
    "h": 230
  },
  "luminance": 0.32971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51A5CB

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

Preview Lab → · Contrast checker → · Palette generator →

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