#517FCB#517FCB

#517FCB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.127 H 260.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#517FCB
RGBrgb(81, 127, 203)
HSLhsl(217, 54%, 56%)
HSVhsv(217, 60%, 80%)
CMYKcmyk(60.1%, 37.4%, 0%, 20.4%)
CIE-LABlab(53.21, 7.55, -44.13)
CIE-LCHlch(53.21, 44.77, 279.71°)
OKLaboklab(59.88% -0.0222 -0.1252)
OKLCHoklch(59.88% 0.127 260)
XYZxyz(21.7584, 21.2380, 59.4410)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FCB #CB9D51
analogous
#51BCCB #517FCB #6051CB
triadic
#517FCB #CB517F #7FCB51
tetradic
#517FCB #CB51BC #CB9D51 #51CB60
square
#517FCB #CB51BC #CB9D51 #51CB60
split-complementary
#517FCB #CB6051 #BCCB51
monochromatic
#25467C #3361AC #517FCB #80A2D9 #AFC4E7

Accessibility & contrast

On white

4.00
#517FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#517FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FCB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FCB#FFFFFF#000000##000000
##517FCB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517fcb;
/* rgb */ color: rgb(81, 127, 203);
/* oklch */ color: oklch(59.9% 0.127 260.0);
Tailwind
colors: {
  custom: {
    50: '#8ca3db',
    500: '#517fcb',
    950: '#000000',
  },
}
SCSS
$custom: #517fcb;
$custom-light: #8ca3db;
$custom-dark: #000000;
JSON
{
  "hex": "#517fcb",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 217.377,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59882,
    "c": 0.12713,
    "h": 260
  },
  "luminance": 0.2124
}

Semantic roles & 50–950 ramp

primary
#517FCB
secondary
#D5C2A3
accent
#A64ADD
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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