#51A7E4#51A7E4

#51A7E4 is a light, vivid cyan. Relative luminance 0.350; OKLCH L 70.1% C 0.122 H 242.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#51A7E4
RGBrgb(81, 167, 228)
HSLhsl(205, 73%, 61%)
HSVhsv(205, 64%, 89%)
CMYKcmyk(64.5%, 26.8%, 0%, 10.6%)
CIE-LABlab(65.74, -7.36, -38.40)
CIE-LCHlch(65.74, 39.10, 259.14°)
OKLaboklab(70.1% -0.0569 -0.1081)
OKLCHoklch(70.1% 0.122 242.2)
XYZxyz(31.2103, 34.9850, 78.4917)
Luminance0.3499 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A7E4 #E48E51
analogous
#51E4D7 #51A7E4 #515DE4
triadic
#51A7E4 #E451A7 #A7E451
tetradic
#51A7E4 #D751E4 #E48E51 #5DE451
square
#51A7E4 #D751E4 #E48E51 #5DE451
split-complementary
#51A7E4 #E4515D #E4D751
monochromatic
#1969A2 #218BD7 #51A7E4 #86C2EC #BBDDF4

Accessibility & contrast

On white

2.63
#51A7E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#51A7E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A7E4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A7E4#FFFFFF#000000##000000
##51A7E41.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA8E7
Deuteranopia (green-blind)
#7799E3
Tritanopia (blue-blind)
#00B6BC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #51a7e4;
/* rgb */ color: rgb(81, 167, 228);
/* oklch */ color: oklch(70.1% 0.122 242.2);
Tailwind
colors: {
  custom: {
    50: '#90c1ec',
    500: '#51a7e4',
    950: '#000000',
  },
}
SCSS
$custom: #51a7e4;
$custom-light: #90c1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#51a7e4",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 228
  },
  "hsl": {
    "h": 204.898,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.70096,
    "c": 0.12221,
    "h": 242.2
  },
  "luminance": 0.34988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51A7E4

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

Preview Lab → · Contrast checker → · Palette generator →

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