#507AF2#507AF2

#507AF2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.186 H 266.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#507AF2
RGBrgb(80, 122, 242)
HSLhsl(224, 86%, 63%)
HSVhsv(224, 67%, 95%)
CMYKcmyk(66.9%, 49.6%, 0%, 5.1%)
CIE-LABlab(54.06, 23.78, -64.69)
CIE-LCHlch(54.06, 68.92, 290.19°)
OKLaboklab(61.25% -0.0116 -0.1856)
OKLCHoklch(61.25% 0.186 266.4)
XYZxyz(26.2892, 22.0328, 86.8545)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AF2 #F2C850
analogous
#50CBF2 #507AF2 #7750F2
triadic
#507AF2 #F2507A #7AF250
tetradic
#507AF2 #F250CB #F2C850 #50F277
square
#507AF2 #F250CB #F2C850 #50F277
split-complementary
#507AF2 #F27750 #CBF250
monochromatic
#0E3ABA #174FEE #507AF2 #89A5F6 #C2D1FA

Accessibility & contrast

On white

3.88
#507AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#507AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AF2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AF2#FFFFFF#000000##000000
##507AF21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507af2;
/* rgb */ color: rgb(80, 122, 242);
/* oklch */ color: oklch(61.3% 0.186 266.4);
Tailwind
colors: {
  custom: {
    50: '#929ff7',
    500: '#507af2',
    950: '#000000',
  },
}
SCSS
$custom: #507af2;
$custom-light: #929ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#507af2",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 224.444,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61252,
    "c": 0.18599,
    "h": 266.4
  },
  "luminance": 0.22035
}

Semantic roles & 50–950 ramp

primary
#507AF2
secondary
#ECDDB2
accent
#A903E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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