#51B7F2#51B7F2

#51B7F2 is a light, vivid cyan. Relative luminance 0.420; OKLCH L 74.4% C 0.127 H 237.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#51B7F2
RGBrgb(81, 183, 242)
HSLhsl(202, 86%, 63%)
HSVhsv(202, 67%, 95%)
CMYKcmyk(66.5%, 24.4%, 0%, 5.1%)
CIE-LABlab(70.89, -11.59, -38.02)
CIE-LCHlch(70.89, 39.75, 253.05°)
OKLaboklab(74.37% -0.0684 -0.1069)
OKLCHoklch(74.37% 0.127 237.4)
XYZxyz(36.3476, 42.0232, 90.1829)
Luminance0.4203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B7F2 #F28C51
analogous
#51F2DD #51B7F2 #5166F2
triadic
#51B7F2 #F251B7 #B7F251
tetradic
#51B7F2 #DD51F2 #F28C51 #66F251
square
#51B7F2 #DD51F2 #F28C51 #66F251
split-complementary
#51B7F2 #F25166 #F2DD51
monochromatic
#0E7BBB #189FEE #51B7F2 #8ACFF6 #C3E6FB

Accessibility & contrast

On white

2.23
#51B7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#51B7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B7F2
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B7F2#FFFFFF#000000##000000
##51B7F21.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB6F5
Deuteranopia (green-blind)
#85A6F1
Tritanopia (blue-blind)
#00C6CB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #51b7f2;
/* rgb */ color: rgb(81, 183, 242);
/* oklch */ color: oklch(74.4% 0.127 237.4);
Tailwind
colors: {
  custom: {
    50: '#92ccf6',
    500: '#51b7f2',
    950: '#000000',
  },
}
SCSS
$custom: #51b7f2;
$custom-light: #92ccf6;
$custom-dark: #000000;
JSON
{
  "hex": "#51b7f2",
  "rgb": {
    "r": 81,
    "g": 183,
    "b": 242
  },
  "hsl": {
    "h": 201.988,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.74372,
    "c": 0.12694,
    "h": 237.4
  },
  "luminance": 0.42027
}

Semantic roles & 50–950 ramp

primary
#51B7F2
secondary
#ECC8B3
accent
#5503E3
background
#F9FCFF
surface
#F2F8FE
border
#CCD1D6
text
#0E1317
muted
#7E8285

Preview Lab

Preview with #51B7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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