#507FE2#507FE2

#507FE2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.2% C 0.159 H 263.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#507FE2
RGBrgb(80, 127, 226)
HSLhsl(221, 72%, 60%)
HSVhsv(221, 65%, 89%)
CMYKcmyk(64.6%, 43.8%, 0%, 11.4%)
CIE-LABlab(54.42, 15.19, -55.18)
CIE-LCHlch(54.42, 57.24, 285.39°)
OKLaboklab(61.21% -0.0184 -0.1576)
OKLCHoklch(61.21% 0.159 263.3)
XYZxyz(24.6203, 22.3729, 74.9577)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FE2 #E2B350
analogous
#50C8E2 #507FE2 #6A50E2
triadic
#507FE2 #E2507F #7FE250
tetradic
#507FE2 #E250C8 #E2B350 #50E26A
square
#507FE2 #E250C8 #E2B350 #50E26A
split-complementary
#507FE2 #E26A50 #C8E250
monochromatic
#1A449E #235BD2 #507FE2 #84A5EB #B9CCF3

Accessibility & contrast

On white

3.84
#507FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#507FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FE2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FE2#FFFFFF#000000##000000
##507FE21.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E6
Deuteranopia (green-blind)
#377CE0
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507fe2;
/* rgb */ color: rgb(80, 127, 226);
/* oklch */ color: oklch(61.2% 0.159 263.3);
Tailwind
colors: {
  custom: {
    50: '#8fa3ec',
    500: '#507fe2',
    950: '#000000',
  },
}
SCSS
$custom: #507fe2;
$custom-light: #8fa3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#507fe2",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 220.685,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.61214,
    "c": 0.15867,
    "h": 263.3
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#507FE2
secondary
#E3D1AB
accent
#B439EE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #507FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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