#507BE1#507BE1

#507BE1 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.3% C 0.162 H 264.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#507BE1
RGBrgb(80, 123, 225)
HSLhsl(222, 71%, 60%)
HSVhsv(222, 64%, 88%)
CMYKcmyk(64.4%, 45.3%, 0%, 11.8%)
CIE-LABlab(53.28, 17.30, -56.44)
CIE-LCHlch(53.28, 59.03, 287.04°)
OKLaboklab(60.32% -0.0147 -0.1614)
OKLCHoklch(60.32% 0.162 264.8)
XYZxyz(23.9771, 21.3054, 74.0683)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BE1 #E1B650
analogous
#50C4E1 #507BE1 #6E50E1
triadic
#507BE1 #E1507B #7BE150
tetradic
#507BE1 #E150C4 #E1B650 #50E16E
square
#507BE1 #E150C4 #E1B650 #50E16E
split-complementary
#507BE1 #E16E50 #C4E150
monochromatic
#1B419C #2457D0 #507BE1 #84A2EA #B8CAF3

Accessibility & contrast

On white

3.99
#507BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#507BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BE1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BE1#FFFFFF#000000##000000
##507BE11.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4986E5
Deuteranopia (green-blind)
#2F79DF
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507be1;
/* rgb */ color: rgb(80, 123, 225);
/* oklch */ color: oklch(60.3% 0.162 264.8);
Tailwind
colors: {
  custom: {
    50: '#8fa0eb',
    500: '#507be1',
    950: '#000000',
  },
}
SCSS
$custom: #507be1;
$custom-light: #8fa0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#507be1",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 222.207,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.16203,
    "h": 264.8
  },
  "luminance": 0.21308
}

Semantic roles & 50–950 ramp

primary
#507BE1
secondary
#E2D2AA
accent
#B83AED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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