#51A5EA#51A5EA

#51A5EA is a light, vivid cyan. Relative luminance 0.346; OKLCH L 69.9% C 0.130 H 246.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#51A5EA
RGBrgb(81, 165, 234)
HSLhsl(207, 78%, 62%)
HSVhsv(207, 65%, 92%)
CMYKcmyk(65.4%, 29.5%, 0%, 8.2%)
CIE-LABlab(65.43, -4.28, -42.17)
CIE-LCHlch(65.43, 42.39, 264.20°)
OKLaboklab(69.94% -0.0531 -0.1191)
OKLCHoklch(69.94% 0.13 246)
XYZxyz(31.6942, 34.5969, 82.8335)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A5EA #EA9651
analogous
#51EAE3 #51A5EA #5159EA
triadic
#51A5EA #EA51A5 #A5EA51
tetradic
#51A5EA #E351EA #EA9651 #59EA51
square
#51A5EA #E351EA #EA9651 #59EA51
split-complementary
#51A5EA #EA5159 #EAE351
monochromatic
#1568AC #1B89E2 #51A5EA #88C1F1 #BEDDF7

Accessibility & contrast

On white

2.65
#51A5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#51A5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A5EA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A5EA#FFFFFF#000000##000000
##51A5EA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#00B6BD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51a5ea;
/* rgb */ color: rgb(81, 165, 234);
/* oklch */ color: oklch(69.9% 0.130 246.0);
Tailwind
colors: {
  custom: {
    50: '#90bff1',
    500: '#51a5ea',
    950: '#000000',
  },
}
SCSS
$custom: #51a5ea;
$custom-light: #90bff1;
$custom-dark: #000000;
JSON
{
  "hex": "#51a5ea",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 207.059,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.69943,
    "c": 0.13039,
    "h": 246
  },
  "luminance": 0.346
}

Semantic roles & 50–950 ramp

primary
#51A5EA
secondary
#E8C9AF
accent
#690BDB
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #51A5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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