#51A2E4#51A2E4

#51A2E4 is a light, vivid cyan. Relative luminance 0.332; OKLCH L 69.0% C 0.126 H 245.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#51A2E4
RGBrgb(81, 162, 228)
HSLhsl(207, 73%, 61%)
HSVhsv(207, 64%, 89%)
CMYKcmyk(64.5%, 28.9%, 0%, 10.6%)
CIE-LABlab(64.31, -4.57, -40.63)
CIE-LCHlch(64.31, 40.89, 263.58°)
OKLaboklab(68.97% -0.0519 -0.1146)
OKLCHoklch(68.97% 0.126 245.7)
XYZxyz(30.3120, 33.1884, 78.1923)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A2E4 #E49351
analogous
#51E4DD #51A2E4 #5158E4
triadic
#51A2E4 #E451A2 #A2E451
tetradic
#51A2E4 #DD51E4 #E49351 #58E451
square
#51A2E4 #DD51E4 #E49351 #58E451
split-complementary
#51A2E4 #E45158 #E4DD51
monochromatic
#1964A2 #2185D7 #51A2E4 #86BEEC #BBDBF4

Accessibility & contrast

On white

2.75
#51A2E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#51A2E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A2E4
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A2E4#FFFFFF#000000##000000
##51A2E41.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A4E7
Deuteranopia (green-blind)
#7196E3
Tritanopia (blue-blind)
#00B2B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #51a2e4;
/* rgb */ color: rgb(81, 162, 228);
/* oklch */ color: oklch(69.0% 0.126 245.7);
Tailwind
colors: {
  custom: {
    50: '#90bded',
    500: '#51a2e4',
    950: '#000000',
  },
}
SCSS
$custom: #51a2e4;
$custom-light: #90bded;
$custom-dark: #000000;
JSON
{
  "hex": "#51a2e4",
  "rgb": {
    "r": 81,
    "g": 162,
    "b": 228
  },
  "hsl": {
    "h": 206.939,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.68971,
    "c": 0.12582,
    "h": 245.7
  },
  "luminance": 0.33191
}

Semantic roles & 50–950 ramp

primary
#51A2E4
secondary
#E4C6AC
accent
#6910D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #51A2E4

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

Preview Lab → · Contrast checker → · Palette generator →

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