#51A5E1#51A5E1

#51A5E1 is a light, vivid cyan. Relative luminance 0.341; OKLCH L 69.5% C 0.120 H 242.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#51A5E1
RGBrgb(81, 165, 225)
HSLhsl(205, 71%, 60%)
HSVhsv(205, 64%, 88%)
CMYKcmyk(64%, 26.7%, 0%, 11.8%)
CIE-LABlab(65.04, -7.23, -37.85)
CIE-LCHlch(65.04, 38.53, 259.19°)
OKLaboklab(69.5% -0.0558 -0.1065)
OKLCHoklch(69.5% 0.12 242.3)
XYZxyz(30.4339, 34.0928, 76.1962)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A5E1 #E18D51
analogous
#51E1D5 #51A5E1 #515DE1
triadic
#51A5E1 #E151A5 #A5E151
tetradic
#51A5E1 #D551E1 #E18D51 #5DE151
square
#51A5E1 #D551E1 #E18D51 #5DE151
split-complementary
#51A5E1 #E1515D #E1D551
monochromatic
#1B679D #2489D1 #51A5E1 #85C0EA #B9DBF3

Accessibility & contrast

On white

2.69
#51A5E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#51A5E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A5E1
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A5E1#FFFFFF#000000##000000
##51A5E11.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E4
Deuteranopia (green-blind)
#7698E0
Tritanopia (blue-blind)
#00B4BA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51a5e1;
/* rgb */ color: rgb(81, 165, 225);
/* oklch */ color: oklch(69.5% 0.120 242.3);
Tailwind
colors: {
  custom: {
    50: '#8fbfea',
    500: '#51a5e1',
    950: '#000000',
  },
}
SCSS
$custom: #51a5e1;
$custom-light: #8fbfea;
$custom-dark: #000000;
JSON
{
  "hex": "#51a5e1",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 225
  },
  "hsl": {
    "h": 205,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.69499,
    "c": 0.12028,
    "h": 242.3
  },
  "luminance": 0.34096
}

Semantic roles & 50–950 ramp

primary
#51A5E1
secondary
#E3C2AB
accent
#853AED
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #51A5E1

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

Preview Lab → · Contrast checker → · Palette generator →

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