#507CC7#507CC7

#507CC7 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.125 H 260.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#507CC7
RGBrgb(80, 124, 199)
HSLhsl(218, 52%, 55%)
HSVhsv(218, 60%, 78%)
CMYKcmyk(59.8%, 37.7%, 0%, 22%)
CIE-LABlab(52.11, 7.83, -43.60)
CIE-LCHlch(52.11, 44.30, 280.18°)
OKLaboklab(58.95% -0.0208 -0.1237)
OKLCHoklch(58.95% 0.125 260.5)
XYZxyz(20.8211, 20.2425, 56.8317)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CC7 #C79B50
analogous
#50B8C7 #507CC7 #6050C7
triadic
#507CC7 #C7507C #7CC750
tetradic
#507CC7 #C750B8 #C79B50 #50C760
square
#507CC7 #C750B8 #C79B50 #50C760
split-complementary
#507CC7 #C76050 #B8C750
monochromatic
#264477 #355EA5 #507CC7 #7E9FD6 #ADC1E5

Accessibility & contrast

On white

4.16
#507CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#507CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CC7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CC7#FFFFFF#000000##000000
##507CC71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507cc7;
/* rgb */ color: rgb(80, 124, 199);
/* oklch */ color: oklch(58.9% 0.125 260.5);
Tailwind
colors: {
  custom: {
    50: '#8ba1d8',
    500: '#507cc7',
    950: '#000000',
  },
}
SCSS
$custom: #507cc7;
$custom-light: #8ba1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#507cc7",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 217.815,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58948,
    "c": 0.1254,
    "h": 260.5
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#507CC7
secondary
#D2C0A0
accent
#A64DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #507CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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