#507CE8#507CE8

#507CE8 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.0% C 0.170 H 265.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#507CE8
RGBrgb(80, 124, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 66%, 91%)
CMYKcmyk(65.5%, 46.6%, 0%, 9%)
CIE-LABlab(53.97, 19.10, -59.26)
CIE-LCHlch(53.97, 62.27, 287.86°)
OKLaboklab(60.98% -0.0146 -0.1696)
OKLCHoklch(60.98% 0.17 265.1)
XYZxyz(25.0763, 21.9446, 79.2425)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CE8 #E8BC50
analogous
#50C8E8 #507CE8 #7050E8
triadic
#507CE8 #E8507C #7CE850
tetradic
#507CE8 #E850C8 #E8BC50 #50E870
square
#507CE8 #E850C8 #E8BC50 #50E870
split-complementary
#507CE8 #E87050 #C8E850
monochromatic
#1640A8 #1D55DE #507CE8 #86A4EF #BCCDF6

Accessibility & contrast

On white

3.90
#507CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#507CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CE8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CE8#FFFFFF#000000##000000
##507CE81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EC
Deuteranopia (green-blind)
#267AE6
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507ce8;
/* rgb */ color: rgb(80, 124, 232);
/* oklch */ color: oklch(61.0% 0.170 265.1);
Tailwind
colors: {
  custom: {
    50: '#90a1f0',
    500: '#507ce8',
    950: '#000000',
  },
}
SCSS
$custom: #507ce8;
$custom-light: #90a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#507ce8",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 222.632,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.17027,
    "h": 265.1
  },
  "luminance": 0.21947
}

Semantic roles & 50–950 ramp

primary
#507CE8
secondary
#E6D6AD
accent
#9E0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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