#51A1EC#51A1EC

#51A1EC is a light, vivid cyan. Relative luminance 0.333; OKLCH L 69.2% C 0.136 H 249.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#51A1EC
RGBrgb(81, 161, 236)
HSLhsl(209, 80%, 62%)
HSVhsv(209, 66%, 93%)
CMYKcmyk(65.7%, 31.8%, 0%, 7.5%)
CIE-LABlab(64.40, -1.36, -44.90)
CIE-LCHlch(64.40, 44.92, 268.27°)
OKLaboklab(69.16% -0.0486 -0.1271)
OKLCHoklch(69.16% 0.136 249.1)
XYZxyz(31.2729, 33.2920, 84.1185)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A1EC #EC9C51
analogous
#51ECE9 #51A1EC #5154EC
triadic
#51A1EC #EC51A1 #A1EC51
tetradic
#51A1EC #E951EC #EC9C51 #54EC51
square
#51A1EC #E951EC #EC9C51 #54EC51
split-complementary
#51A1EC #EC5154 #ECE951
monochromatic
#1364AF #1A83E6 #51A1EC #88BFF2 #BFDDF8

Accessibility & contrast

On white

2.74
#51A1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#51A1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A1EC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A1EC#FFFFFF#000000##000000
##51A1EC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EF
Deuteranopia (green-blind)
#6B95EB
Tritanopia (blue-blind)
#00B3BC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #51a1ec;
/* rgb */ color: rgb(81, 161, 236);
/* oklch */ color: oklch(69.2% 0.136 249.1);
Tailwind
colors: {
  custom: {
    50: '#91bcf2',
    500: '#51a1ec',
    950: '#000000',
  },
}
SCSS
$custom: #51a1ec;
$custom-light: #91bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#51a1ec",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 236
  },
  "hsl": {
    "h": 209.032,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.69157,
    "c": 0.13602,
    "h": 249.1
  },
  "luminance": 0.33295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51A1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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