#51A1E4#51A1E4

#51A1E4 is a light, vivid cyan. Relative luminance 0.328; OKLCH L 68.7% C 0.127 H 246.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#51A1E4
RGBrgb(81, 161, 228)
HSLhsl(207, 73%, 61%)
HSVhsv(207, 64%, 89%)
CMYKcmyk(64.5%, 29.4%, 0%, 10.6%)
CIE-LABlab(64.03, -4.00, -41.08)
CIE-LCHlch(64.03, 41.27, 264.43°)
OKLaboklab(68.75% -0.0508 -0.1159)
OKLCHoklch(68.75% 0.127 246.3)
XYZxyz(30.1366, 32.8375, 78.1338)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A1E4 #E49451
analogous
#51E4DD #51A1E4 #5157E4
triadic
#51A1E4 #E451A1 #A1E451
tetradic
#51A1E4 #DD51E4 #E49451 #57E451
square
#51A1E4 #DD51E4 #E49451 #57E451
split-complementary
#51A1E4 #E45157 #E4DD51
monochromatic
#1963A2 #2184D7 #51A1E4 #86BEEC #BBDAF4

Accessibility & contrast

On white

2.77
#51A1E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#51A1E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A1E4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A1E4#FFFFFF#000000##000000
##51A1E41.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A3E7
Deuteranopia (green-blind)
#6F95E3
Tritanopia (blue-blind)
#00B1B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #51a1e4;
/* rgb */ color: rgb(81, 161, 228);
/* oklch */ color: oklch(68.7% 0.127 246.3);
Tailwind
colors: {
  custom: {
    50: '#90bced',
    500: '#51a1e4',
    950: '#000000',
  },
}
SCSS
$custom: #51a1e4;
$custom-light: #90bced;
$custom-dark: #000000;
JSON
{
  "hex": "#51a1e4",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 228
  },
  "hsl": {
    "h": 207.347,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.68747,
    "c": 0.1266,
    "h": 246.3
  },
  "luminance": 0.32841
}

Semantic roles & 50–950 ramp

primary
#51A1E4
secondary
#E4C6AC
accent
#6A10D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #51A1E4

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

Preview Lab → · Contrast checker → · Palette generator →

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