#51AFF2#51AFF2

#51AFF2 is a light, vivid cyan. Relative luminance 0.388; OKLCH L 72.6% C 0.132 H 242.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#51AFF2
RGBrgb(81, 175, 242)
HSLhsl(205, 86%, 63%)
HSVhsv(205, 67%, 95%)
CMYKcmyk(66.5%, 27.7%, 0%, 5.1%)
CIE-LABlab(68.62, -7.23, -41.56)
CIE-LCHlch(68.62, 42.18, 260.14°)
OKLaboklab(72.57% -0.0606 -0.1172)
OKLCHoklch(72.57% 0.132 242.7)
XYZxyz(34.7442, 38.8164, 89.6484)
Luminance0.3882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AFF2 #F29451
analogous
#51F2E4 #51AFF2 #515EF2
triadic
#51AFF2 #F251AF #AFF251
tetradic
#51AFF2 #E451F2 #F29451 #5EF251
square
#51AFF2 #E451F2 #F29451 #5EF251
split-complementary
#51AFF2 #F2515E #F2E451
monochromatic
#0E73BB #1895EE #51AFF2 #8AC9F6 #C3E3FB

Accessibility & contrast

On white

2.40
#51AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#51AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AFF2
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AFF2#FFFFFF#000000##000000
##51AFF21.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B0F5
Deuteranopia (green-blind)
#7BA0F1
Tritanopia (blue-blind)
#00BFC6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #51aff2;
/* rgb */ color: rgb(81, 175, 242);
/* oklch */ color: oklch(72.6% 0.132 242.7);
Tailwind
colors: {
  custom: {
    50: '#92c6f6',
    500: '#51aff2',
    950: '#000000',
  },
}
SCSS
$custom: #51aff2;
$custom-light: #92c6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#51aff2",
  "rgb": {
    "r": 81,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 204.969,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.72574,
    "c": 0.13195,
    "h": 242.7
  },
  "luminance": 0.3882
}

Semantic roles & 50–950 ramp

primary
#51AFF2
secondary
#ECCBB3
accent
#6003E3
background
#F9FCFF
surface
#F2F8FE
border
#CCD1D6
text
#0E1317
muted
#7E8285

Preview Lab

Preview with #51AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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