#507BE5#507BE5

#507BE5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.6% C 0.167 H 265.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#507BE5
RGBrgb(80, 123, 229)
HSLhsl(223, 74%, 61%)
HSVhsv(223, 65%, 90%)
CMYKcmyk(65.1%, 46.3%, 0%, 10.2%)
CIE-LABlab(53.52, 18.68, -58.30)
CIE-LCHlch(53.52, 61.22, 287.76°)
OKLaboklab(60.58% -0.0141 -0.1668)
OKLCHoklch(60.58% 0.167 265.2)
XYZxyz(24.5292, 21.5262, 76.9758)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BE5 #E5BA50
analogous
#50C5E5 #507BE5 #7050E5
triadic
#507BE5 #E5507B #7BE550
tetradic
#507BE5 #E550C5 #E5BA50 #50E570
square
#507BE5 #E550C5 #E5BA50 #50E570
split-complementary
#507BE5 #E57050 #C5E550
monochromatic
#1840A2 #2055D8 #507BE5 #85A3ED #BBCBF5

Accessibility & contrast

On white

3.96
#507BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##507BE5#FFFFFF#000000##000000
##507BE51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E9
Deuteranopia (green-blind)
#2879E3
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507be5;
/* rgb */ color: rgb(80, 123, 229);
/* oklch */ color: oklch(60.6% 0.167 265.2);
Tailwind
colors: {
  custom: {
    50: '#8fa0ee',
    500: '#507be5',
    950: '#000000',
  },
}
SCSS
$custom: #507be5;
$custom-light: #8fa0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#507be5",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 222.685,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.16743,
    "h": 265.2
  },
  "luminance": 0.21529
}

Semantic roles & 50–950 ramp

primary
#507BE5
secondary
#E5D4AC
accent
#9D0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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