#507DD2#507DD2

#507DD2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.139 H 262.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#507DD2
RGBrgb(80, 125, 210)
HSLhsl(219, 59%, 57%)
HSVhsv(219, 62%, 82%)
CMYKcmyk(61.9%, 40.5%, 0%, 17.6%)
CIE-LABlab(52.98, 10.94, -48.48)
CIE-LCHlch(52.98, 49.69, 282.72°)
OKLaboklab(59.81% -0.0194 -0.1379)
OKLCHoklch(59.81% 0.139 262)
XYZxyz(22.2707, 21.0238, 63.8446)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DD2 #D2A550
analogous
#50BED2 #507DD2 #6450D2
triadic
#507DD2 #D2507D #7DD250
tetradic
#507DD2 #D250BE #D2A550 #50D264
square
#507DD2 #D250BE #D2A550 #50D264
split-complementary
#507DD2 #D26450 #BED250
monochromatic
#224585 #2F5EB6 #507DD2 #81A1DF #B1C5EB

Accessibility & contrast

On white

4.03
#507DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#507DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DD2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DD2#FFFFFF#000000##000000
##507DD21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D5
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507dd2;
/* rgb */ color: rgb(80, 125, 210);
/* oklch */ color: oklch(59.8% 0.139 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ca2e0',
    500: '#507dd2',
    950: '#000000',
  },
}
SCSS
$custom: #507dd2;
$custom-light: #8ca2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#507dd2",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 219.231,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.1393,
    "h": 262
  },
  "luminance": 0.21026
}

Semantic roles & 50–950 ramp

primary
#507DD2
secondary
#D9C7A4
accent
#AC46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #507DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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