#507DE5#507DE5

#507DE5 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.0% C 0.165 H 264.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#507DE5
RGBrgb(80, 125, 229)
HSLhsl(222, 74%, 61%)
HSVhsv(222, 65%, 90%)
CMYKcmyk(65.1%, 45.4%, 0%, 10.2%)
CIE-LABlab(54.06, 17.45, -57.45)
CIE-LCHlch(54.06, 60.04, 286.90°)
OKLaboklab(60.99% -0.016 -0.1643)
OKLCHoklch(60.99% 0.165 264.4)
XYZxyz(24.7798, 22.0275, 77.0594)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DE5 #E5B850
analogous
#50C7E5 #507DE5 #6D50E5
triadic
#507DE5 #E5507D #7DE550
tetradic
#507DE5 #E550C7 #E5B850 #50E56D
square
#507DE5 #E550C7 #E5B850 #50E56D
split-complementary
#507DE5 #E56D50 #C7E550
monochromatic
#1842A2 #2058D8 #507DE5 #85A5ED #BBCCF5

Accessibility & contrast

On white

3.88
#507DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#507DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DE5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DE5#FFFFFF#000000##000000
##507DE51.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E9
Deuteranopia (green-blind)
#2E7BE3
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507de5;
/* rgb */ color: rgb(80, 125, 229);
/* oklch */ color: oklch(61.0% 0.165 264.4);
Tailwind
colors: {
  custom: {
    50: '#8fa2ee',
    500: '#507de5',
    950: '#000000',
  },
}
SCSS
$custom: #507de5;
$custom-light: #8fa2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#507de5",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 229
  },
  "hsl": {
    "h": 221.879,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60991,
    "c": 0.16506,
    "h": 264.4
  },
  "luminance": 0.2203
}

Semantic roles & 50–950 ramp

primary
#507DE5
secondary
#E5D4AC
accent
#9A0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #507DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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