#517BF9#517BF9

#517BF9 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.194 H 266.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#517BF9
RGBrgb(81, 123, 249)
HSLhsl(225, 93%, 65%)
HSVhsv(225, 67%, 98%)
CMYKcmyk(67.5%, 50.6%, 0%, 2.4%)
CIE-LABlab(54.82, 25.74, -67.35)
CIE-LCHlch(54.82, 72.10, 290.91°)
OKLaboklab(61.98% -0.0108 -0.1934)
OKLCHoklch(61.98% 0.194 266.8)
XYZxyz(27.5693, 22.7521, 92.5428)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BF9 #F9CF51
analogous
#51CFF9 #517BF9 #7B51F9
triadic
#517BF9 #F9517B #7BF951
tetradic
#517BF9 #F951CF #F9CF51 #51F97B
square
#517BF9 #F951CF #F9CF51 #51F97B
split-complementary
#517BF9 #F97B51 #CFF951
monochromatic
#0737C9 #164EF7 #517BF9 #8CA8FB #C7D5FD

Accessibility & contrast

On white

3.78
#517BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#517BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BF9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BF9#FFFFFF#000000##000000
##517BF91.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8BFE
Deuteranopia (green-blind)
#007CF6
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517bf9;
/* rgb */ color: rgb(81, 123, 249);
/* oklch */ color: oklch(62.0% 0.194 266.8);
Tailwind
colors: {
  custom: {
    50: '#93a0fc',
    500: '#517bf9',
    950: '#000000',
  },
}
SCSS
$custom: #517bf9;
$custom-light: #93a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#517bf9",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 225,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61981,
    "c": 0.19373,
    "h": 266.8
  },
  "luminance": 0.22755
}

Semantic roles & 50–950 ramp

primary
#517BF9
secondary
#F0E1B6
accent
#AC00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E18
muted
#7E7E86

Preview Lab

Preview with #517BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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