#507FCC#507FCC

#507FCC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.129 H 259.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#507FCC
RGBrgb(80, 127, 204)
HSLhsl(217, 55%, 56%)
HSVhsv(217, 61%, 80%)
CMYKcmyk(60.8%, 37.7%, 0%, 20%)
CIE-LABlab(53.21, 7.70, -44.70)
CIE-LCHlch(53.21, 45.35, 279.77°)
OKLaboklab(59.89% -0.0228 -0.1268)
OKLCHoklch(59.89% 0.129 259.8)
XYZxyz(21.7929, 21.2419, 60.0667)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FCC #CC9D50
analogous
#50BDCC #507FCC #5F50CC
triadic
#507FCC #CC507F #7FCC50
tetradic
#507FCC #CC50BD #CC9D50 #50CC5F
square
#507FCC #CC50BD #CC9D50 #50CC5F
split-complementary
#507FCC #CC5F50 #BDCC50
monochromatic
#24467D #3261AD #507FCC #7FA2DA #AFC4E8

Accessibility & contrast

On white

4.00
#507FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#507FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FCC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FCC#FFFFFF#000000##000000
##507FCC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#4D7ACA
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507fcc;
/* rgb */ color: rgb(80, 127, 204);
/* oklch */ color: oklch(59.9% 0.129 259.8);
Tailwind
colors: {
  custom: {
    50: '#8ba3dc',
    500: '#507fcc',
    950: '#000000',
  },
}
SCSS
$custom: #507fcc;
$custom-light: #8ba3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#507fcc",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 217.258,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.12888,
    "h": 259.8
  },
  "luminance": 0.21244
}

Semantic roles & 50–950 ramp

primary
#507FCC
secondary
#D6C2A2
accent
#A64ADE
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #507FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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