#517CEC#517CEC

#517CEC is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.3% C 0.175 H 265.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#517CEC
RGBrgb(81, 124, 236)
HSLhsl(223, 80%, 62%)
HSVhsv(223, 66%, 93%)
CMYKcmyk(65.7%, 47.5%, 0%, 7.5%)
CIE-LABlab(54.26, 20.64, -61.03)
CIE-LCHlch(54.26, 64.42, 288.68°)
OKLaboklab(61.29% -0.0132 -0.1748)
OKLCHoklch(61.29% 0.175 265.7)
XYZxyz(25.7361, 22.2183, 82.2729)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CEC #ECC151
analogous
#51C9EC #517CEC #7451EC
triadic
#517CEC #EC517C #7CEC51
tetradic
#517CEC #EC51C9 #ECC151 #51EC74
square
#517CEC #EC51C9 #ECC151 #51EC74
split-complementary
#517CEC #EC7451 #C9EC51
monochromatic
#133FAF #1A52E6 #517CEC #88A6F2 #BFCFF8

Accessibility & contrast

On white

3.86
#517CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#517CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CEC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CEC#FFFFFF#000000##000000
##517CEC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189F0
Deuteranopia (green-blind)
#1D7BEA
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517cec;
/* rgb */ color: rgb(81, 124, 236);
/* oklch */ color: oklch(61.3% 0.175 265.7);
Tailwind
colors: {
  custom: {
    50: '#91a1f3',
    500: '#517cec',
    950: '#000000',
  },
}
SCSS
$custom: #517cec;
$custom-light: #91a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#517cec",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 223.355,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.17532,
    "h": 265.7
  },
  "luminance": 0.22221
}

Semantic roles & 50–950 ramp

primary
#517CEC
secondary
#E9D9B0
accent
#A209DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517CEC

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

Preview Lab → · Contrast checker → · Palette generator →

#517CEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva