#507EF0#507EF0

#507EF0 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.9% C 0.179 H 265.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#507EF0
RGBrgb(80, 126, 240)
HSLhsl(223, 84%, 63%)
HSVhsv(223, 67%, 94%)
CMYKcmyk(66.7%, 47.5%, 0%, 5.9%)
CIE-LABlab(54.99, 20.64, -62.09)
CIE-LCHlch(54.99, 65.43, 288.38°)
OKLaboklab(61.92% -0.0153 -0.1779)
OKLCHoklch(61.92% 0.179 265.1)
XYZxyz(26.4918, 22.9159, 85.4483)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EF0 #F0C250
analogous
#50CEF0 #507EF0 #7250F0
triadic
#507EF0 #F0507E #7EF050
tetradic
#507EF0 #F050CE #F0C250 #50F072
square
#507EF0 #F050CE #F0C250 #50F072
split-complementary
#507EF0 #F07250 #CEF050
monochromatic
#103FB6 #1854EB #507EF0 #88A8F5 #C1D1FA

Accessibility & contrast

On white

3.76
#507EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#507EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507EF0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507EF0#FFFFFF#000000##000000
##507EF01.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF4
Deuteranopia (green-blind)
#1A7DEE
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #507ef0;
/* rgb */ color: rgb(80, 126, 240);
/* oklch */ color: oklch(61.9% 0.179 265.1);
Tailwind
colors: {
  custom: {
    50: '#91a2f6',
    500: '#507ef0',
    950: '#000000',
  },
}
SCSS
$custom: #507ef0;
$custom-light: #91a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#507ef0",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 222.75,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61916,
    "c": 0.17858,
    "h": 265.1
  },
  "luminance": 0.22918
}

Semantic roles & 50–950 ramp

primary
#507EF0
secondary
#EBDAB1
accent
#A105E1
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #507EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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