#507DE8#507DE8

#507DE8 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.2% C 0.169 H 264.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#507DE8
RGBrgb(80, 125, 232)
HSLhsl(222, 77%, 61%)
HSVhsv(222, 66%, 91%)
CMYKcmyk(65.5%, 46.1%, 0%, 9%)
CIE-LABlab(54.23, 18.48, -58.84)
CIE-LCHlch(54.23, 61.67, 287.44°)
OKLaboklab(61.19% -0.0155 -0.1684)
OKLCHoklch(61.19% 0.169 264.7)
XYZxyz(25.2023, 22.1965, 79.2845)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DE8 #E8BB50
analogous
#50C9E8 #507DE8 #6F50E8
triadic
#507DE8 #E8507D #7DE850
tetradic
#507DE8 #E850C9 #E8BB50 #50E86F
square
#507DE8 #E850C9 #E8BB50 #50E86F
split-complementary
#507DE8 #E86F50 #C9E850
monochromatic
#1641A8 #1D56DE #507DE8 #86A5EF #BCCDF6

Accessibility & contrast

On white

3.86
#507DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#507DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DE8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DE8#FFFFFF#000000##000000
##507DE81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4789EC
Deuteranopia (green-blind)
#297BE6
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507de8;
/* rgb */ color: rgb(80, 125, 232);
/* oklch */ color: oklch(61.2% 0.169 264.7);
Tailwind
colors: {
  custom: {
    50: '#90a2f0',
    500: '#507de8',
    950: '#000000',
  },
}
SCSS
$custom: #507de8;
$custom-light: #90a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#507de8",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 232
  },
  "hsl": {
    "h": 222.237,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.16909,
    "h": 264.7
  },
  "luminance": 0.22199
}

Semantic roles & 50–950 ramp

primary
#507DE8
secondary
#E6D6AD
accent
#9C0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #507DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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