#517BED#517BED

#517BED is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.178 H 266.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#517BED
RGBrgb(81, 123, 237)
HSLhsl(224, 81%, 62%)
HSVhsv(224, 66%, 93%)
CMYKcmyk(65.8%, 48.1%, 0%, 7.1%)
CIE-LABlab(54.06, 21.60, -61.91)
CIE-LCHlch(54.06, 65.57, 289.23°)
OKLaboklab(61.16% -0.0122 -0.1774)
OKLCHoklch(61.16% 0.178 266.1)
XYZxyz(25.7571, 22.0272, 82.9986)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BED #EDC351
analogous
#51C9ED #517BED #7551ED
triadic
#517BED #ED517B #7BED51
tetradic
#517BED #ED51C9 #EDC351 #51ED75
square
#517BED #ED51C9 #EDC351 #51ED75
split-complementary
#517BED #ED7551 #C9ED51
monochromatic
#123DB1 #1A51E7 #517BED #88A5F3 #C0CFF8

Accessibility & contrast

On white

3.88
#517BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#517BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BED
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BED#FFFFFF#000000##000000
##517BED1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F1
Deuteranopia (green-blind)
#157BEB
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517bed;
/* rgb */ color: rgb(81, 123, 237);
/* oklch */ color: oklch(61.2% 0.178 266.1);
Tailwind
colors: {
  custom: {
    50: '#91a0f3',
    500: '#517bed',
    950: '#000000',
  },
}
SCSS
$custom: #517bed;
$custom-light: #91a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#517bed",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 223.846,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61159,
    "c": 0.17785,
    "h": 266.1
  },
  "luminance": 0.2203
}

Semantic roles & 50–950 ramp

primary
#517BED
secondary
#E9DAB0
accent
#A408DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517BED

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

Preview Lab → · Contrast checker → · Palette generator →

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