#507CE3#507CE3

#507CE3 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.164 H 264.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#507CE3
RGBrgb(80, 124, 227)
HSLhsl(222, 72%, 60%)
HSVhsv(222, 65%, 89%)
CMYKcmyk(64.8%, 45.4%, 0%, 11%)
CIE-LABlab(53.67, 17.37, -56.95)
CIE-LCHlch(53.67, 59.54, 286.97°)
OKLaboklab(60.66% -0.0153 -0.1628)
OKLCHoklch(60.66% 0.164 264.6)
XYZxyz(24.3762, 21.6645, 75.5552)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CE3 #E3B750
analogous
#50C5E3 #507CE3 #6E50E3
triadic
#507CE3 #E3507C #7CE350
tetradic
#507CE3 #E350C5 #E3B750 #50E36E
square
#507CE3 #E350C5 #E3B750 #50E36E
split-complementary
#507CE3 #E36E50 #C5E350
monochromatic
#19419F #2257D4 #507CE3 #85A3EB #BACBF4

Accessibility & contrast

On white

3.94
#507CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#507CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CE3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CE3#FFFFFF#000000##000000
##507CE31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E7
Deuteranopia (green-blind)
#2E7AE1
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507ce3;
/* rgb */ color: rgb(80, 124, 227);
/* oklch */ color: oklch(60.7% 0.164 264.6);
Tailwind
colors: {
  custom: {
    50: '#8fa1ec',
    500: '#507ce3',
    950: '#000000',
  },
}
SCSS
$custom: #507ce3;
$custom-light: #8fa1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#507ce3",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 222.041,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.16354,
    "h": 264.6
  },
  "luminance": 0.21667
}

Semantic roles & 50–950 ramp

primary
#507CE3
secondary
#E4D3AB
accent
#9A11D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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