#507FC4#507FC4

#507FC4 is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.4% C 0.118 H 257.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#507FC4
RGBrgb(80, 127, 196)
HSLhsl(216, 50%, 54%)
HSVhsv(216, 59%, 77%)
CMYKcmyk(59.2%, 35.2%, 0%, 23.1%)
CIE-LABlab(52.80, 5.02, -40.79)
CIE-LCHlch(52.80, 41.10, 277.01°)
OKLaboklab(59.44% -0.0248 -0.1154)
OKLCHoklch(59.44% 0.118 257.9)
XYZxyz(20.8579, 20.8679, 55.1426)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FC4 #C49550
analogous
#50B9C4 #507FC4 #5B50C4
triadic
#507FC4 #C4507F #7FC450
tetradic
#507FC4 #C450B9 #C49550 #50C45B
square
#507FC4 #C450B9 #C49550 #50C45B
split-complementary
#507FC4 #C45B50 #B9C450
monochromatic
#274673 #3661A1 #507FC4 #7EA0D3 #ACC2E3

Accessibility & contrast

On white

4.06
#507FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#507FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FC4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FC4#FFFFFF#000000##000000
##507FC41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C7
Deuteranopia (green-blind)
#5379C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507fc4;
/* rgb */ color: rgb(80, 127, 196);
/* oklch */ color: oklch(59.4% 0.118 257.9);
Tailwind
colors: {
  custom: {
    50: '#8aa3d6',
    500: '#507fc4',
    950: '#000000',
  },
}
SCSS
$custom: #507fc4;
$custom-light: #8aa3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#507fc4",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 215.69,
    "s": 49.573,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.11807,
    "h": 257.9
  },
  "luminance": 0.2087
}

Semantic roles & 50–950 ramp

primary
#507FC4
secondary
#D1BD9F
accent
#A14FD9
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #507FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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