#517EEE#517EEE

#517EEE is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.8% C 0.176 H 265.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#517EEE
RGBrgb(81, 126, 238)
HSLhsl(223, 82%, 63%)
HSVhsv(223, 66%, 93%)
CMYKcmyk(66%, 47.1%, 0%, 6.7%)
CIE-LABlab(54.91, 20.10, -61.10)
CIE-LCHlch(54.91, 64.32, 288.21°)
OKLaboklab(61.83% -0.0147 -0.175)
OKLCHoklch(61.83% 0.176 265.2)
XYZxyz(26.2814, 22.8416, 83.8962)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EEE #EEC151
analogous
#51CCEE #517EEE #7351EE
triadic
#517EEE #EE517E #7EEE51
tetradic
#517EEE #EE51CC #EEC151 #51EE73
square
#517EEE #EE51CC #EEC151 #51EE73
split-complementary
#517EEE #EE7351 #CCEE51
monochromatic
#1140B3 #1955E9 #517EEE #89A7F3 #C1D1F9

Accessibility & contrast

On white

3.77
#517EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#517EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EEE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EEE#FFFFFF#000000##000000
##517EEE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF2
Deuteranopia (green-blind)
#217DEC
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517eee;
/* rgb */ color: rgb(81, 126, 238);
/* oklch */ color: oklch(61.8% 0.176 265.2);
Tailwind
colors: {
  custom: {
    50: '#91a2f4',
    500: '#517eee',
    950: '#000000',
  },
}
SCSS
$custom: #517eee;
$custom-light: #91a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#517eee",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 222.803,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6183,
    "c": 0.17561,
    "h": 265.2
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#517EEE
secondary
#EADAB1
accent
#A107DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #517EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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