#517BDA#517BDA

#517BDA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.152 H 264.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#517BDA
RGBrgb(81, 123, 218)
HSLhsl(222, 65%, 59%)
HSVhsv(222, 63%, 85%)
CMYKcmyk(62.8%, 43.6%, 0%, 14.5%)
CIE-LABlab(52.92, 15.07, -53.08)
CIE-LCHlch(52.92, 55.18, 285.85°)
OKLaboklab(59.93% -0.015 -0.1514)
OKLCHoklch(59.93% 0.152 264.3)
XYZxyz(23.1268, 20.9751, 69.1459)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BDA #DAB051
analogous
#51BFDA #517BDA #6B51DA
triadic
#517BDA #DA517B #7BDA51
tetradic
#517BDA #DA51BF #DAB051 #51DA6B
square
#517BDA #DA51BF #DAB051 #51DA6B
split-complementary
#517BDA #DA6B51 #BFDA51
monochromatic
#1F4292 #2A59C4 #517BDA #83A1E5 #B6C8EF

Accessibility & contrast

On white

4.04
#517BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#517BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BDA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BDA#FFFFFF#000000##000000
##517BDA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F85DE
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517bda;
/* rgb */ color: rgb(81, 123, 218);
/* oklch */ color: oklch(59.9% 0.152 264.3);
Tailwind
colors: {
  custom: {
    50: '#8ea0e6',
    500: '#517bda',
    950: '#000000',
  },
}
SCSS
$custom: #517bda;
$custom-light: #8ea0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#517bda",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 221.606,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59926,
    "c": 0.15219,
    "h": 264.3
  },
  "luminance": 0.20977
}

Semantic roles & 50–950 ramp

primary
#517BDA
secondary
#DECEA8
accent
#B440E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #517BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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