#507FE4#507FE4

#507FE4 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.3% C 0.161 H 263.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#507FE4
RGBrgb(80, 127, 228)
HSLhsl(221, 73%, 60%)
HSVhsv(221, 65%, 89%)
CMYKcmyk(64.9%, 44.3%, 0%, 10.6%)
CIE-LABlab(54.54, 15.88, -56.12)
CIE-LCHlch(54.54, 58.32, 285.80°)
OKLaboklab(61.34% -0.018 -0.1603)
OKLCHoklch(61.34% 0.161 263.6)
XYZxyz(24.8963, 22.4833, 76.4114)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FE4 #E4B550
analogous
#50C9E4 #507FE4 #6B50E4
triadic
#507FE4 #E4507F #7FE450
tetradic
#507FE4 #E450C9 #E4B550 #50E46B
square
#507FE4 #E450C9 #E4B550 #50E46B
split-complementary
#507FE4 #E46B50 #C9E450
monochromatic
#1944A1 #215AD6 #507FE4 #85A6EC #BACDF4

Accessibility & contrast

On white

3.82
#507FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#507FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FE4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FE4#FFFFFF#000000##000000
##507FE41.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8AE8
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507fe4;
/* rgb */ color: rgb(80, 127, 228);
/* oklch */ color: oklch(61.3% 0.161 263.6);
Tailwind
colors: {
  custom: {
    50: '#8fa3ed',
    500: '#507fe4',
    950: '#000000',
  },
}
SCSS
$custom: #507fe4;
$custom-light: #8fa3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#507fe4",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 220.946,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.16136,
    "h": 263.6
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

primary
#507FE4
secondary
#E4D2AC
accent
#9710D5
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #507FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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