#507DE1#507DE1

#507DE1 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.7% C 0.160 H 264.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#507DE1
RGBrgb(80, 125, 225)
HSLhsl(221, 71%, 60%)
HSVhsv(221, 64%, 88%)
CMYKcmyk(64.4%, 44.4%, 0%, 11.8%)
CIE-LABlab(53.82, 16.07, -55.58)
CIE-LCHlch(53.82, 57.86, 286.13°)
OKLaboklab(60.73% -0.0166 -0.1588)
OKLCHoklch(60.73% 0.16 264)
XYZxyz(24.2277, 21.8067, 74.1519)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DE1 #E1B450
analogous
#50C6E1 #507DE1 #6B50E1
triadic
#507DE1 #E1507D #7DE150
tetradic
#507DE1 #E150C6 #E1B450 #50E16B
square
#507DE1 #E150C6 #E1B450 #50E16B
split-complementary
#507DE1 #E16B50 #C6E150
monochromatic
#1B439C #2459D0 #507DE1 #84A4EA #B8CBF3

Accessibility & contrast

On white

3.92
#507DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#507DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DE1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DE1#FFFFFF#000000##000000
##507DE11.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E5
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507de1;
/* rgb */ color: rgb(80, 125, 225);
/* oklch */ color: oklch(60.7% 0.160 264.0);
Tailwind
colors: {
  custom: {
    50: '#8fa2eb',
    500: '#507de1',
    950: '#000000',
  },
}
SCSS
$custom: #507de1;
$custom-light: #8fa2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#507de1",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 225
  },
  "hsl": {
    "h": 221.379,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.15967,
    "h": 264
  },
  "luminance": 0.21809
}

Semantic roles & 50–950 ramp

primary
#507DE1
secondary
#E2D1AA
accent
#B63AED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #507DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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