#507CDE#507CDE

#507CDE is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.3% C 0.157 H 264.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#507CDE
RGBrgb(80, 124, 222)
HSLhsl(221, 68%, 59%)
HSVhsv(221, 64%, 87%)
CMYKcmyk(64%, 44.1%, 0%, 12.9%)
CIE-LABlab(53.38, 15.65, -54.61)
CIE-LCHlch(53.38, 56.81, 286.00°)
OKLaboklab(60.34% -0.0162 -0.1559)
OKLCHoklch(60.34% 0.157 264.1)
XYZxyz(23.6961, 21.3925, 71.9735)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CDE #DEB250
analogous
#50C3DE #507CDE #6B50DE
triadic
#507CDE #DE507C #7CDE50
tetradic
#507CDE #DE50C3 #DEB250 #50DE6B
square
#507CDE #DE50C3 #DEB250 #50DE6B
split-complementary
#507CDE #DE6B50 #C3DE50
monochromatic
#1C4297 #2659CB #507CDE #83A3E8 #B7C9F1

Accessibility & contrast

On white

3.98
#507CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#507CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CDE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CDE#FFFFFF#000000##000000
##507CDE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E2
Deuteranopia (green-blind)
#3679DC
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507cde;
/* rgb */ color: rgb(80, 124, 222);
/* oklch */ color: oklch(60.3% 0.157 264.1);
Tailwind
colors: {
  custom: {
    50: '#8ea1e9',
    500: '#507cde',
    950: '#000000',
  },
}
SCSS
$custom: #507cde;
$custom-light: #8ea1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#507cde",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 222
  },
  "hsl": {
    "h": 221.408,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.15679,
    "h": 264.1
  },
  "luminance": 0.21395
}

Semantic roles & 50–950 ramp

primary
#507CDE
secondary
#E1CFA9
accent
#B53DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #507CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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