#507BD6#507BD6

#507BD6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.147 H 263.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#507BD6
RGBrgb(80, 123, 214)
HSLhsl(221, 62%, 58%)
HSVhsv(221, 63%, 84%)
CMYKcmyk(62.6%, 42.5%, 0%, 16.1%)
CIE-LABlab(52.65, 13.53, -51.26)
CIE-LCHlch(52.65, 53.02, 284.78°)
OKLaboklab(59.63% -0.0166 -0.1461)
OKLCHoklch(59.63% 0.147 263.5)
XYZxyz(22.5246, 20.7244, 66.4185)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BD6 #D6AB50
analogous
#50BED6 #507BD6 #6850D6
triadic
#507BD6 #D6507B #7BD650
tetradic
#507BD6 #D650BE #D6AB50 #50D668
square
#507BD6 #D650BE #D6AB50 #50D668
split-complementary
#507BD6 #D66850 #BED650
monochromatic
#21438B #2C5BBD #507BD6 #82A0E2 #B3C6ED

Accessibility & contrast

On white

4.08
#507BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#507BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BD6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BD6#FFFFFF#000000##000000
##507BD61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507bd6;
/* rgb */ color: rgb(80, 123, 214);
/* oklch */ color: oklch(59.6% 0.147 263.5);
Tailwind
colors: {
  custom: {
    50: '#8da0e3',
    500: '#507bd6',
    950: '#000000',
  },
}
SCSS
$custom: #507bd6;
$custom-light: #8da0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#507bd6",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 220.746,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.14708,
    "h": 263.5
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#507BD6
secondary
#DCCBA6
accent
#B143E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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