#507CC5#507CC5

#507CC5 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.8% C 0.123 H 260.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#507CC5
RGBrgb(80, 124, 197)
HSLhsl(217, 50%, 54%)
HSVhsv(217, 59%, 77%)
CMYKcmyk(59.4%, 37.1%, 0%, 22.7%)
CIE-LABlab(52.01, 7.16, -42.62)
CIE-LCHlch(52.01, 43.22, 279.54°)
OKLaboklab(58.83% -0.0212 -0.1208)
OKLCHoklch(58.83% 0.123 260)
XYZxyz(20.5904, 20.1502, 55.6168)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CC5 #C59950
analogous
#50B7C5 #507CC5 #5F50C5
triadic
#507CC5 #C5507C #7CC550
tetradic
#507CC5 #C550B7 #C59950 #50C55F
square
#507CC5 #C550B7 #C59950 #50C55F
split-complementary
#507CC5 #C55F50 #B7C550
monochromatic
#264474 #365EA2 #507CC5 #7E9ED4 #ACC1E3

Accessibility & contrast

On white

4.17
#507CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#507CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CC5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CC5#FFFFFF#000000##000000
##507CC51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C8
Deuteranopia (green-blind)
#4E77C3
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507cc5;
/* rgb */ color: rgb(80, 124, 197);
/* oklch */ color: oklch(58.8% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#8aa1d7',
    500: '#507cc5',
    950: '#000000',
  },
}
SCSS
$custom: #507cc5;
$custom-light: #8aa1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#507cc5",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 217.436,
    "s": 50.215,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.12266,
    "h": 260
  },
  "luminance": 0.20152
}

Semantic roles & 50–950 ramp

primary
#507CC5
secondary
#D1BFA0
accent
#A54EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #507CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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