#507FE5#507FE5

#507FE5 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.4% C 0.163 H 263.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#507FE5
RGBrgb(80, 127, 229)
HSLhsl(221, 74%, 61%)
HSVhsv(221, 65%, 90%)
CMYKcmyk(65.1%, 44.5%, 0%, 10.2%)
CIE-LABlab(54.59, 16.23, -56.58)
CIE-LCHlch(54.59, 58.86, 286.00°)
OKLaboklab(61.4% -0.0179 -0.1617)
OKLCHoklch(61.4% 0.163 263.7)
XYZxyz(25.0355, 22.5390, 77.1446)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FE5 #E5B650
analogous
#50C9E5 #507FE5 #6B50E5
triadic
#507FE5 #E5507F #7FE550
tetradic
#507FE5 #E550C9 #E5B650 #50E56B
square
#507FE5 #E550C9 #E5B650 #50E56B
split-complementary
#507FE5 #E56B50 #C9E550
monochromatic
#1844A2 #205AD8 #507FE5 #85A6ED #BBCDF5

Accessibility & contrast

On white

3.81
#507FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#507FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FE5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FE5#FFFFFF#000000##000000
##507FE51.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#337CE3
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #507fe5;
/* rgb */ color: rgb(80, 127, 229);
/* oklch */ color: oklch(61.4% 0.163 263.7);
Tailwind
colors: {
  custom: {
    50: '#8fa3ee',
    500: '#507fe5',
    950: '#000000',
  },
}
SCSS
$custom: #507fe5;
$custom-light: #8fa3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#507fe5",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 221.074,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61404,
    "c": 0.16271,
    "h": 263.7
  },
  "luminance": 0.22541
}

Semantic roles & 50–950 ramp

primary
#507FE5
secondary
#E5D3AC
accent
#970FD6
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #507FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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