#507CC2#507CC2

#507CC2 is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.7% C 0.119 H 259.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#507CC2
RGBrgb(80, 124, 194)
HSLhsl(217, 48%, 54%)
HSVhsv(217, 59%, 76%)
CMYKcmyk(58.8%, 36.1%, 0%, 23.9%)
CIE-LABlab(51.85, 6.16, -41.15)
CIE-LCHlch(51.85, 41.61, 278.51°)
OKLaboklab(58.66% -0.022 -0.1165)
OKLCHoklch(58.66% 0.119 259.3)
XYZxyz(20.2501, 20.0141, 53.8244)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CC2 #C29650
analogous
#50B5C2 #507CC2 #5D50C2
triadic
#507CC2 #C2507C #7CC250
tetradic
#507CC2 #C250B5 #C29650 #50C25D
square
#507CC2 #C250B5 #C29650 #50C25D
split-complementary
#507CC2 #C25D50 #B5C250
monochromatic
#274370 #375F9E #507CC2 #7D9ED2 #ABC0E2

Accessibility & contrast

On white

4.20
#507CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#507CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CC2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CC2#FFFFFF#000000##000000
##507CC21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C5
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507cc2;
/* rgb */ color: rgb(80, 124, 194);
/* oklch */ color: oklch(58.7% 0.119 259.3);
Tailwind
colors: {
  custom: {
    50: '#8aa1d5',
    500: '#507cc2',
    950: '#000000',
  },
}
SCSS
$custom: #507cc2;
$custom-light: #8aa1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#507cc2",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 216.842,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.11857,
    "h": 259.3
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#507CC2
secondary
#CFBC9F
accent
#A350D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #507CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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