#517DBB#517DBB

#517DBB is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.6% C 0.108 H 257.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#517DBB
RGBrgb(81, 125, 187)
HSLhsl(215, 44%, 53%)
HSVhsv(215, 57%, 73%)
CMYKcmyk(56.7%, 33.2%, 0%, 26.7%)
CIE-LABlab(51.84, 3.45, -37.16)
CIE-LCHlch(51.84, 37.32, 275.31°)
OKLaboklab(58.55% -0.024 -0.1048)
OKLCHoklch(58.55% 0.108 257.1)
XYZxyz(19.6935, 20.0028, 49.8272)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DBB #BB8F51
analogous
#51B2BB #517DBB #5A51BB
triadic
#517DBB #BB517D #7DBB51
tetradic
#517DBB #BB51B2 #BB8F51 #51BB5A
square
#517DBB #BB51B2 #BB8F51 #51BB5A
split-complementary
#517DBB #BB5A51 #B2BB51
monochromatic
#294369 #3A6095 #517DBB #7D9ECC #A9BFDD

Accessibility & contrast

On white

4.20
#517DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#517DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DBB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DBB#FFFFFF#000000##000000
##517DBB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BE
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517dbb;
/* rgb */ color: rgb(81, 125, 187);
/* oklch */ color: oklch(58.6% 0.108 257.1);
Tailwind
colors: {
  custom: {
    50: '#8aa2cf',
    500: '#517dbb',
    950: '#000000',
  },
}
SCSS
$custom: #517dbb;
$custom-light: #8aa2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#517dbb",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 187
  },
  "hsl": {
    "h": 215.094,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.10757,
    "h": 257.1
  },
  "luminance": 0.20004
}

Semantic roles & 50–950 ramp

primary
#517DBB
secondary
#CBB89D
accent
#9F54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0F14
muted
#7D7E82

Preview Lab

Preview with #517DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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