#507FC5#507FC5

#507FC5 is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.5% C 0.119 H 258.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#507FC5
RGBrgb(80, 127, 197)
HSLhsl(216, 50%, 54%)
HSVhsv(216, 59%, 77%)
CMYKcmyk(59.4%, 35.5%, 0%, 22.7%)
CIE-LABlab(52.85, 5.35, -41.28)
CIE-LCHlch(52.85, 41.63, 277.38°)
OKLaboklab(59.49% -0.0245 -0.1169)
OKLCHoklch(59.49% 0.119 258.2)
XYZxyz(20.9721, 20.9136, 55.7440)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FC5 #C59650
analogous
#50BAC5 #507FC5 #5B50C5
triadic
#507FC5 #C5507F #7FC550
tetradic
#507FC5 #C550BA #C59650 #50C55B
square
#507FC5 #C550BA #C59650 #50C55B
split-complementary
#507FC5 #C55B50 #BAC550
monochromatic
#264674 #3661A2 #507FC5 #7EA1D4 #ACC2E3

Accessibility & contrast

On white

4.05
#507FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#507FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FC5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FC5#FFFFFF#000000##000000
##507FC51.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C8
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507fc5;
/* rgb */ color: rgb(80, 127, 197);
/* oklch */ color: oklch(59.5% 0.119 258.2);
Tailwind
colors: {
  custom: {
    50: '#8aa3d7',
    500: '#507fc5',
    950: '#000000',
  },
}
SCSS
$custom: #507fc5;
$custom-light: #8aa3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#507fc5",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 215.897,
    "s": 50.215,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.11941,
    "h": 258.2
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#507FC5
secondary
#D1BDA0
accent
#A24EDA
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #507FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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