#51A2CC#51A2CC

#51A2CC is a light, moderate cyan. Relative luminance 0.320; OKLCH L 67.8% C 0.100 H 233.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#51A2CC
RGBrgb(81, 162, 204)
HSLhsl(200, 55%, 56%)
HSVhsv(200, 60%, 80%)
CMYKcmyk(60.3%, 20.6%, 0%, 20%)
CIE-LABlab(63.30, -12.28, -28.91)
CIE-LCHlch(63.30, 31.41, 246.99°)
OKLaboklab(67.83% -0.0597 -0.0808)
OKLCHoklch(67.83% 0.1 233.6)
XYZxyz(27.2086, 31.9470, 61.8475)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A2CC #CC7B51
analogous
#51CCB9 #51A2CC #5164CC
triadic
#51A2CC #CC51A2 #A2CC51
tetradic
#51A2CC #B951CC #CC7B51 #64CC51
square
#51A2CC #B951CC #CC7B51 #64CC51
split-complementary
#51A2CC #CC5164 #CCB951
monochromatic
#255F7E #3383AD #51A2CC #80BBDA #B0D5E8

Accessibility & contrast

On white

2.84
#51A2CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#51A2CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A2CC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A2CC#FFFFFF#000000##000000
##51A2CC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CE
Deuteranopia (green-blind)
#7D94CB
Tritanopia (blue-blind)
#00ADB0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #51a2cc;
/* rgb */ color: rgb(81, 162, 204);
/* oklch */ color: oklch(67.8% 0.100 233.6);
Tailwind
colors: {
  custom: {
    50: '#8cbddb',
    500: '#51a2cc',
    950: '#000000',
  },
}
SCSS
$custom: #51a2cc;
$custom-light: #8cbddb;
$custom-dark: #000000;
JSON
{
  "hex": "#51a2cc",
  "rgb": {
    "r": 81,
    "g": 162,
    "b": 204
  },
  "hsl": {
    "h": 200.488,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.67834,
    "c": 0.10049,
    "h": 233.6
  },
  "luminance": 0.3195
}

Semantic roles & 50–950 ramp

primary
#51A2CC
secondary
#D6B4A3
accent
#7C4ADE
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #51A2CC

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

Preview Lab → · Contrast checker → · Palette generator →

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