#51A2EC#51A2EC

#51A2EC is a light, vivid cyan. Relative luminance 0.336; OKLCH L 69.4% C 0.135 H 248.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#51A2EC
RGBrgb(81, 162, 236)
HSLhsl(209, 80%, 62%)
HSVhsv(209, 66%, 93%)
CMYKcmyk(65.7%, 31.4%, 0%, 7.5%)
CIE-LABlab(64.68, -1.93, -44.46)
CIE-LCHlch(64.68, 44.50, 267.52°)
OKLaboklab(69.38% -0.0495 -0.1258)
OKLCHoklch(69.38% 0.135 248.5)
XYZxyz(31.4483, 33.6429, 84.1770)
Luminance0.3365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A2EC #EC9B51
analogous
#51ECE8 #51A2EC #5155EC
triadic
#51A2EC #EC51A2 #A2EC51
tetradic
#51A2EC #E851EC #EC9B51 #55EC51
square
#51A2EC #E851EC #EC9B51 #55EC51
split-complementary
#51A2EC #EC5155 #ECE851
monochromatic
#1365AF #1A85E6 #51A2EC #88BFF2 #BFDDF8

Accessibility & contrast

On white

2.72
#51A2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#51A2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A2EC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A2EC#FFFFFF#000000##000000
##51A2EC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#6C96EB
Tritanopia (blue-blind)
#00B4BC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51a2ec;
/* rgb */ color: rgb(81, 162, 236);
/* oklch */ color: oklch(69.4% 0.135 248.5);
Tailwind
colors: {
  custom: {
    50: '#91bdf2',
    500: '#51a2ec',
    950: '#000000',
  },
}
SCSS
$custom: #51a2ec;
$custom-light: #91bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#51a2ec",
  "rgb": {
    "r": 81,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 208.645,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.69379,
    "c": 0.13517,
    "h": 248.5
  },
  "luminance": 0.33646
}

Semantic roles & 50–950 ramp

primary
#51A2EC
secondary
#E9CBB0
accent
#6E09DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #51A2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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