#51A6E4#51A6E4

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

Color values

HEX#51A6E4
RGBrgb(81, 166, 228)
HSLhsl(205, 73%, 61%)
HSVhsv(205, 64%, 89%)
CMYKcmyk(64.5%, 27.2%, 0%, 10.6%)
CIE-LABlab(65.45, -6.81, -38.85)
CIE-LCHlch(65.45, 39.44, 260.06°)
OKLaboklab(69.87% -0.0559 -0.1094)
OKLCHoklch(69.87% 0.123 242.9)
XYZxyz(31.0279, 34.6200, 78.4309)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A6E4 #E48F51
analogous
#51E4D8 #51A6E4 #515CE4
triadic
#51A6E4 #E451A6 #A6E451
tetradic
#51A6E4 #D851E4 #E48F51 #5CE451
square
#51A6E4 #D851E4 #E48F51 #5CE451
split-complementary
#51A6E4 #E4515C #E4D851
monochromatic
#1968A2 #218AD7 #51A6E4 #86C1EC #BBDCF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A6E4#FFFFFF#000000##000000
##51A6E41.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)
#8AA7E7
Deuteranopia (green-blind)
#7699E3
Tritanopia (blue-blind)
#00B5BB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51a6e4;
/* rgb */ color: rgb(81, 166, 228);
/* oklch */ color: oklch(69.9% 0.123 242.9);
Tailwind
colors: {
  custom: {
    50: '#90c0ec',
    500: '#51a6e4',
    950: '#000000',
  },
}
SCSS
$custom: #51a6e4;
$custom-light: #90c0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#51a6e4",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 228
  },
  "hsl": {
    "h": 205.306,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6987,
    "c": 0.12289,
    "h": 242.9
  },
  "luminance": 0.34623
}

Semantic roles & 50–950 ramp

primary
#51A6E4
secondary
#E4C4AC
accent
#6310D5
background
#F9FBFE
surface
#F2F7FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #51A6E4

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

Preview Lab → · Contrast checker → · Palette generator →

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