#507DE2#507DE2

#507DE2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.8% C 0.161 H 264.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#507DE2
RGBrgb(80, 125, 226)
HSLhsl(222, 72%, 60%)
HSVhsv(222, 65%, 89%)
CMYKcmyk(64.6%, 44.7%, 0%, 11.4%)
CIE-LABlab(53.88, 16.42, -56.05)
CIE-LCHlch(53.88, 58.40, 286.33°)
OKLaboklab(60.8% -0.0165 -0.1602)
OKLCHoklch(60.8% 0.161 264.1)
XYZxyz(24.3646, 21.8614, 74.8724)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DE2 #E2B550
analogous
#50C6E2 #507DE2 #6C50E2
triadic
#507DE2 #E2507D #7DE250
tetradic
#507DE2 #E250C6 #E2B550 #50E26C
square
#507DE2 #E250C6 #E2B550 #50E26C
split-complementary
#507DE2 #E26C50 #C6E250
monochromatic
#1A439E #2359D2 #507DE2 #84A4EB #B9CBF3

Accessibility & contrast

On white

3.91
#507DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#507DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DE2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DE2#FFFFFF#000000##000000
##507DE21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E6
Deuteranopia (green-blind)
#337BE0
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507de2;
/* rgb */ color: rgb(80, 125, 226);
/* oklch */ color: oklch(60.8% 0.161 264.1);
Tailwind
colors: {
  custom: {
    50: '#8fa2ec',
    500: '#507de2',
    950: '#000000',
  },
}
SCSS
$custom: #507de2;
$custom-light: #8fa2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#507de2",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 221.507,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.16101,
    "h": 264.1
  },
  "luminance": 0.21864
}

Semantic roles & 50–950 ramp

primary
#507DE2
secondary
#E3D2AB
accent
#B739EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #507DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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