#507CE1#507CE1

#507CE1 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.161 H 264.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#507CE1
RGBrgb(80, 124, 225)
HSLhsl(222, 71%, 60%)
HSVhsv(222, 64%, 88%)
CMYKcmyk(64.4%, 44.9%, 0%, 11.8%)
CIE-LABlab(53.55, 16.69, -56.01)
CIE-LCHlch(53.55, 58.44, 286.59°)
OKLaboklab(60.53% -0.0157 -0.1601)
OKLCHoklch(60.53% 0.161 264.4)
XYZxyz(24.1018, 21.5548, 74.1099)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CE1 #E1B550
analogous
#50C5E1 #507CE1 #6C50E1
triadic
#507CE1 #E1507C #7CE150
tetradic
#507CE1 #E150C5 #E1B550 #50E16C
square
#507CE1 #E150C5 #E1B550 #50E16C
split-complementary
#507CE1 #E16C50 #C5E150
monochromatic
#1B429C #2458D0 #507CE1 #84A3EA #B8CAF3

Accessibility & contrast

On white

3.95
#507CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#507CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CE1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CE1#FFFFFF#000000##000000
##507CE11.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B87E5
Deuteranopia (green-blind)
#317ADF
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507ce1;
/* rgb */ color: rgb(80, 124, 225);
/* oklch */ color: oklch(60.5% 0.161 264.4);
Tailwind
colors: {
  custom: {
    50: '#8fa1eb',
    500: '#507ce1',
    950: '#000000',
  },
}
SCSS
$custom: #507ce1;
$custom-light: #8fa1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#507ce1",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 225
  },
  "hsl": {
    "h": 221.793,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.16085,
    "h": 264.4
  },
  "luminance": 0.21557
}

Semantic roles & 50–950 ramp

primary
#507CE1
secondary
#E2D1AA
accent
#B73AED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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