#507FE1#507FE1

#507FE1 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.157 H 263.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#507FE1
RGBrgb(80, 127, 225)
HSLhsl(221, 71%, 60%)
HSVhsv(221, 64%, 88%)
CMYKcmyk(64.4%, 43.6%, 0%, 11.8%)
CIE-LABlab(54.36, 14.85, -54.71)
CIE-LCHlch(54.36, 56.69, 285.18°)
OKLaboklab(61.15% -0.0185 -0.1562)
OKLCHoklch(61.15% 0.157 263.2)
XYZxyz(24.4835, 22.3181, 74.2371)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FE1 #E1B250
analogous
#50C7E1 #507FE1 #6A50E1
triadic
#507FE1 #E1507F #7FE150
tetradic
#507FE1 #E150C7 #E1B250 #50E16A
square
#507FE1 #E150C7 #E1B250 #50E16A
split-complementary
#507FE1 #E16A50 #C7E150
monochromatic
#1B459C #245CD0 #507FE1 #84A5EA #B8CBF3

Accessibility & contrast

On white

3.84
#507FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#507FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FE1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FE1#FFFFFF#000000##000000
##507FE11.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E5
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507fe1;
/* rgb */ color: rgb(80, 127, 225);
/* oklch */ color: oklch(61.2% 0.157 263.2);
Tailwind
colors: {
  custom: {
    50: '#8fa3eb',
    500: '#507fe1',
    950: '#000000',
  },
}
SCSS
$custom: #507fe1;
$custom-light: #8fa3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#507fe1",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 220.552,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61152,
    "c": 0.15732,
    "h": 263.2
  },
  "luminance": 0.2232
}

Semantic roles & 50–950 ramp

primary
#507FE1
secondary
#E2D0AA
accent
#B33AED
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #507FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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