#507CE2#507CE2

#507CE2 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.162 H 264.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#507CE2
RGBrgb(80, 124, 226)
HSLhsl(222, 72%, 60%)
HSVhsv(222, 65%, 89%)
CMYKcmyk(64.6%, 45.1%, 0%, 11.4%)
CIE-LABlab(53.61, 17.03, -56.48)
CIE-LCHlch(53.61, 58.99, 286.78°)
OKLaboklab(60.59% -0.0155 -0.1614)
OKLCHoklch(60.59% 0.162 264.5)
XYZxyz(24.2386, 21.6095, 74.8304)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CE2 #E2B650
analogous
#50C5E2 #507CE2 #6D50E2
triadic
#507CE2 #E2507C #7CE250
tetradic
#507CE2 #E250C5 #E2B650 #50E26D
square
#507CE2 #E250C5 #E2B650 #50E26D
split-complementary
#507CE2 #E26D50 #C5E250
monochromatic
#1A429E #2358D2 #507CE2 #84A3EB #B9CBF3

Accessibility & contrast

On white

3.95
#507CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#507CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CE2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CE2#FFFFFF#000000##000000
##507CE21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#307AE0
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507ce2;
/* rgb */ color: rgb(80, 124, 226);
/* oklch */ color: oklch(60.6% 0.162 264.5);
Tailwind
colors: {
  custom: {
    50: '#8fa1ec',
    500: '#507ce2',
    950: '#000000',
  },
}
SCSS
$custom: #507ce2;
$custom-light: #8fa1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#507ce2",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 221.918,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.60592,
    "c": 0.16219,
    "h": 264.5
  },
  "luminance": 0.21612
}

Semantic roles & 50–950 ramp

primary
#507CE2
secondary
#E3D2AB
accent
#B839EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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