#507AC7#507AC7

#507AC7 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.5% C 0.128 H 261.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#507AC7
RGBrgb(80, 122, 199)
HSLhsl(219, 52%, 55%)
HSVhsv(219, 60%, 78%)
CMYKcmyk(59.8%, 38.7%, 0%, 22%)
CIE-LABlab(51.55, 9.05, -44.49)
CIE-LCHlch(51.55, 45.40, 281.50°)
OKLaboklab(58.51% -0.0186 -0.1263)
OKLCHoklch(58.51% 0.128 261.6)
XYZxyz(20.5730, 19.7463, 56.7490)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AC7 #C79D50
analogous
#50B5C7 #507AC7 #6250C7
triadic
#507AC7 #C7507A #7AC750
tetradic
#507AC7 #C750B5 #C79D50 #50C762
square
#507AC7 #C750B5 #C79D50 #50C762
split-complementary
#507AC7 #C76250 #B5C750
monochromatic
#264277 #355CA5 #507AC7 #7E9DD6 #ADC0E5

Accessibility & contrast

On white

4.24
#507AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#507AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AC7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AC7#FFFFFF#000000##000000
##507AC71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CA
Deuteranopia (green-blind)
#4976C5
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507ac7;
/* rgb */ color: rgb(80, 122, 199);
/* oklch */ color: oklch(58.5% 0.128 261.6);
Tailwind
colors: {
  custom: {
    50: '#8ba0d8',
    500: '#507ac7',
    950: '#000000',
  },
}
SCSS
$custom: #507ac7;
$custom-light: #8ba0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#507ac7",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 218.824,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.12765,
    "h": 261.6
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#507AC7
secondary
#D2C1A0
accent
#A94DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #507AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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