#51A2E8#51A2E8

#51A2E8 is a light, vivid cyan. Relative luminance 0.334; OKLCH L 69.2% C 0.130 H 247.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#51A2E8
RGBrgb(81, 162, 232)
HSLhsl(208, 77%, 61%)
HSVhsv(208, 65%, 91%)
CMYKcmyk(65.1%, 30.2%, 0%, 9%)
CIE-LABlab(64.49, -3.25, -42.55)
CIE-LCHlch(64.49, 42.67, 265.63°)
OKLaboklab(69.17% -0.0507 -0.1202)
OKLCHoklch(69.17% 0.13 247.1)
XYZxyz(30.8737, 33.4130, 81.1506)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A2E8 #E89751
analogous
#51E8E3 #51A2E8 #5157E8
triadic
#51A2E8 #E851A2 #A2E851
tetradic
#51A2E8 #E351E8 #E89751 #57E851
square
#51A2E8 #E351E8 #E89751 #57E851
split-complementary
#51A2E8 #E85157 #E8E351
monochromatic
#1665A8 #1D85DE #51A2E8 #87BFEF #BDDCF6

Accessibility & contrast

On white

2.73
#51A2E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#51A2E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A2E8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A2E8#FFFFFF#000000##000000
##51A2E81.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A4EB
Deuteranopia (green-blind)
#6E96E7
Tritanopia (blue-blind)
#00B3BB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #51a2e8;
/* rgb */ color: rgb(81, 162, 232);
/* oklch */ color: oklch(69.2% 0.130 247.1);
Tailwind
colors: {
  custom: {
    50: '#90bdef',
    500: '#51a2e8',
    950: '#000000',
  },
}
SCSS
$custom: #51a2e8;
$custom-light: #90bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#51a2e8",
  "rgb": {
    "r": 81,
    "g": 162,
    "b": 232
  },
  "hsl": {
    "h": 207.815,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.69173,
    "c": 0.13046,
    "h": 247.1
  },
  "luminance": 0.33416
}

Semantic roles & 50–950 ramp

primary
#51A2E8
secondary
#E7C8AE
accent
#6B0DD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #51A2E8

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

Preview Lab → · Contrast checker → · Palette generator →

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