#507BD7#507BD7

#507BD7 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.148 H 263.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#507BD7
RGBrgb(80, 123, 215)
HSLhsl(221, 63%, 58%)
HSVhsv(221, 63%, 84%)
CMYKcmyk(62.8%, 42.8%, 0%, 15.7%)
CIE-LABlab(52.70, 13.87, -51.74)
CIE-LCHlch(52.70, 53.56, 285.00°)
OKLaboklab(59.69% -0.0164 -0.1475)
OKLCHoklch(59.69% 0.148 263.7)
XYZxyz(22.6527, 20.7756, 67.0931)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BD7 #D7AC50
analogous
#50BED7 #507BD7 #6850D7
triadic
#507BD7 #D7507B #7BD750
tetradic
#507BD7 #D750BE #D7AC50 #50D768
square
#507BD7 #D750BE #D7AC50 #50D768
split-complementary
#507BD7 #D76850 #BED750
monochromatic
#20438C #2B5ABE #507BD7 #82A1E2 #B4C6EE

Accessibility & contrast

On white

4.07
#507BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#507BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BD7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BD7#FFFFFF#000000##000000
##507BD71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5184DB
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507bd7;
/* rgb */ color: rgb(80, 123, 215);
/* oklch */ color: oklch(59.7% 0.148 263.7);
Tailwind
colors: {
  custom: {
    50: '#8da0e4',
    500: '#507bd7',
    950: '#000000',
  },
}
SCSS
$custom: #507bd7;
$custom-light: #8da0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#507bd7",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 220.889,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59689,
    "c": 0.14844,
    "h": 263.7
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#507BD7
secondary
#DCCBA6
accent
#B242E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #507BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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