#507AED#507AED

#507AED is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.179 H 266.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#507AED
RGBrgb(80, 122, 237)
HSLhsl(224, 81%, 62%)
HSVhsv(224, 66%, 93%)
CMYKcmyk(66.2%, 48.5%, 0%, 7.1%)
CIE-LABlab(53.75, 22.05, -62.41)
CIE-LCHlch(53.75, 66.19, 289.46°)
OKLaboklab(60.91% -0.0121 -0.1789)
OKLCHoklch(60.91% 0.179 266.1)
XYZxyz(25.5486, 21.7365, 82.9535)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AED #EDC350
analogous
#50C9ED #507AED #7550ED
triadic
#507AED #ED507A #7AED50
tetradic
#507AED #ED50C9 #EDC350 #50ED75
square
#507AED #ED50C9 #EDC350 #50ED75
split-complementary
#507AED #ED7550 #C9ED50
monochromatic
#123CB0 #1950E7 #507AED #87A4F3 #BFCEF8

Accessibility & contrast

On white

3.93
#507AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#507AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AED
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AED#FFFFFF#000000##000000
##507AED1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#0D7AEB
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507aed;
/* rgb */ color: rgb(80, 122, 237);
/* oklch */ color: oklch(60.9% 0.179 266.1);
Tailwind
colors: {
  custom: {
    50: '#919ff3',
    500: '#507aed',
    950: '#000000',
  },
}
SCSS
$custom: #507aed;
$custom-light: #919ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#507aed",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 223.949,
    "s": 81.347,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.17934,
    "h": 266.1
  },
  "luminance": 0.21739
}

Semantic roles & 50–950 ramp

primary
#507AED
secondary
#E9DAB0
accent
#A408DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507AED

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

Preview Lab → · Contrast checker → · Palette generator →

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