#51AFE2#51AFE2

#51AFE2 is a light, moderate cyan. Relative luminance 0.379; OKLCH L 71.8% C 0.116 H 235.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#51AFE2
RGBrgb(81, 175, 226)
HSLhsl(201, 71%, 60%)
HSVhsv(201, 64%, 89%)
CMYKcmyk(64.2%, 22.6%, 0%, 11.4%)
CIE-LABlab(67.94, -12.39, -33.87)
CIE-LCHlch(67.94, 36.07, 249.91°)
OKLaboklab(71.82% -0.0657 -0.095)
OKLCHoklch(71.82% 0.116 235.3)
XYZxyz(32.4455, 37.8969, 77.5417)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AFE2 #E28451
analogous
#51E2CC #51AFE2 #5167E2
triadic
#51AFE2 #E251AF #AFE251
tetradic
#51AFE2 #CC51E2 #E28451 #67E251
square
#51AFE2 #CC51E2 #E28451 #67E251
split-complementary
#51AFE2 #E25167 #E2CC51
monochromatic
#1A709E #2395D3 #51AFE2 #85C7EB #BADFF3

Accessibility & contrast

On white

2.45
#51AFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#51AFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AFE2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AFE2#FFFFFF#000000##000000
##51AFE21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AEE4
Deuteranopia (green-blind)
#839FE1
Tritanopia (blue-blind)
#00BCC0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #51afe2;
/* rgb */ color: rgb(81, 175, 226);
/* oklch */ color: oklch(71.8% 0.116 235.3);
Tailwind
colors: {
  custom: {
    50: '#90c6eb',
    500: '#51afe2',
    950: '#000000',
  },
}
SCSS
$custom: #51afe2;
$custom-light: #90c6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#51afe2",
  "rgb": {
    "r": 81,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 201.103,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.71819,
    "c": 0.11553,
    "h": 235.3
  },
  "luminance": 0.379
}

Semantic roles & 50–950 ramp

primary
#51AFE2
secondary
#E3BFAC
accent
#5612D3
background
#F9FCFE
surface
#F2F8FD
border
#CCD1D5
text
#0E1316
muted
#7E8284

Preview Lab

Preview with #51AFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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