#507AD2#507AD2

#507AD2 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.2% C 0.143 H 263.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#507AD2
RGBrgb(80, 122, 210)
HSLhsl(221, 59%, 57%)
HSVhsv(221, 62%, 82%)
CMYKcmyk(61.9%, 41.9%, 0%, 17.6%)
CIE-LABlab(52.15, 12.77, -49.79)
CIE-LCHlch(52.15, 51.41, 284.39°)
OKLaboklab(59.17% -0.0163 -0.1418)
OKLCHoklch(59.17% 0.143 263.4)
XYZxyz(21.8966, 20.2757, 63.7200)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AD2 #D2A850
analogous
#50BBD2 #507AD2 #6750D2
triadic
#507AD2 #D2507A #7AD250
tetradic
#507AD2 #D250BB #D2A850 #50D267
square
#507AD2 #D250BB #D2A850 #50D267
split-complementary
#507AD2 #D26750 #BBD250
monochromatic
#224285 #2F5AB6 #507AD2 #819FDF #B1C4EB

Accessibility & contrast

On white

4.15
#507AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#507AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AD2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AD2#FFFFFF#000000##000000
##507AD21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5283D5
Deuteranopia (green-blind)
#3F77D0
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507ad2;
/* rgb */ color: rgb(80, 122, 210);
/* oklch */ color: oklch(59.2% 0.143 263.4);
Tailwind
colors: {
  custom: {
    50: '#8ca0e0',
    500: '#507ad2',
    950: '#000000',
  },
}
SCSS
$custom: #507ad2;
$custom-light: #8ca0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#507ad2",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 210
  },
  "hsl": {
    "h": 220.615,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.14278,
    "h": 263.4
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#507AD2
secondary
#D9C8A4
accent
#B046E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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