#51B5F2#51B5F2

#51B5F2 is a light, vivid cyan. Relative luminance 0.412; OKLCH L 73.9% C 0.128 H 238.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#51B5F2
RGBrgb(81, 181, 242)
HSLhsl(203, 86%, 63%)
HSVhsv(203, 67%, 95%)
CMYKcmyk(66.5%, 25.2%, 0%, 5.1%)
CIE-LABlab(70.32, -10.51, -38.90)
CIE-LCHlch(70.32, 40.30, 254.89°)
OKLaboklab(73.92% -0.0665 -0.1095)
OKLCHoklch(73.92% 0.128 238.7)
XYZxyz(35.9380, 41.2041, 90.0464)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B5F2 #F28E51
analogous
#51F2DE #51B5F2 #5164F2
triadic
#51B5F2 #F251B5 #B5F251
tetradic
#51B5F2 #DE51F2 #F28E51 #64F251
square
#51B5F2 #DE51F2 #F28E51 #64F251
split-complementary
#51B5F2 #F25164 #F2DE51
monochromatic
#0E79BB #189DEE #51B5F2 #8ACDF6 #C3E5FB

Accessibility & contrast

On white

2.27
#51B5F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#51B5F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B5F2
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B5F2#FFFFFF#000000##000000
##51B5F21.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B5F5
Deuteranopia (green-blind)
#83A5F1
Tritanopia (blue-blind)
#00C4CA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #51b5f2;
/* rgb */ color: rgb(81, 181, 242);
/* oklch */ color: oklch(73.9% 0.128 238.7);
Tailwind
colors: {
  custom: {
    50: '#92cbf6',
    500: '#51b5f2',
    950: '#000000',
  },
}
SCSS
$custom: #51b5f2;
$custom-light: #92cbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#51b5f2",
  "rgb": {
    "r": 81,
    "g": 181,
    "b": 242
  },
  "hsl": {
    "h": 202.733,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.73921,
    "c": 0.12808,
    "h": 238.7
  },
  "luminance": 0.41208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51B5F2

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

Preview Lab → · Contrast checker → · Palette generator →

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