#507DD7#507DD7

#507DD7 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.146 H 262.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#507DD7
RGBrgb(80, 125, 215)
HSLhsl(220, 63%, 58%)
HSVhsv(220, 63%, 84%)
CMYKcmyk(62.8%, 41.9%, 0%, 15.7%)
CIE-LABlab(53.25, 12.64, -50.86)
CIE-LCHlch(53.25, 52.41, 283.96°)
OKLaboklab(60.11% -0.0184 -0.1449)
OKLCHoklch(60.11% 0.146 262.8)
XYZxyz(22.9033, 21.2769, 67.1767)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DD7 #D7AA50
analogous
#50C1D7 #507DD7 #6650D7
triadic
#507DD7 #D7507D #7DD750
tetradic
#507DD7 #D750C1 #D7AA50 #50D766
square
#507DD7 #D750C1 #D7AA50 #50D766
split-complementary
#507DD7 #D76650 #C1D750
monochromatic
#20448C #2B5CBE #507DD7 #82A2E2 #B4C7EE

Accessibility & contrast

On white

4.00
#507DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#507DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DD7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DD7#FFFFFF#000000##000000
##507DD71.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DA
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507dd7;
/* rgb */ color: rgb(80, 125, 215);
/* oklch */ color: oklch(60.1% 0.146 262.8);
Tailwind
colors: {
  custom: {
    50: '#8da2e4',
    500: '#507dd7',
    950: '#000000',
  },
}
SCSS
$custom: #507dd7;
$custom-light: #8da2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#507dd7",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 220,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60112,
    "c": 0.1461,
    "h": 262.8
  },
  "luminance": 0.21279
}

Semantic roles & 50–950 ramp

primary
#507DD7
secondary
#DCCAA6
accent
#AF42E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F15
muted
#7E7E84

Preview Lab

Preview with #507DD7

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

Preview Lab → · Contrast checker → · Palette generator →

#507DD7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva