#507CCC#507CCC

#507CCC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.132 H 261.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#507CCC
RGBrgb(80, 124, 204)
HSLhsl(219, 55%, 56%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(60.8%, 39.2%, 0%, 20%)
CIE-LABlab(52.37, 9.52, -46.03)
CIE-LCHlch(52.37, 47.00, 281.68°)
OKLaboklab(59.24% -0.0196 -0.1308)
OKLCHoklch(59.24% 0.132 261.5)
XYZxyz(21.4112, 20.4785, 59.9394)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CCC #CCA050
analogous
#50BACC #507CCC #6250CC
triadic
#507CCC #CC507C #7CCC50
tetradic
#507CCC #CC50BA #CCA050 #50CC62
square
#507CCC #CC50BA #CCA050 #50CC62
split-complementary
#507CCC #CC6250 #BACC50
monochromatic
#24447D #325EAD #507CCC #7F9FDA #AFC3E8

Accessibility & contrast

On white

4.12
#507CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#507CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CCC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CCC#FFFFFF#000000##000000
##507CCC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CF
Deuteranopia (green-blind)
#4878CA
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507ccc;
/* rgb */ color: rgb(80, 124, 204);
/* oklch */ color: oklch(59.2% 0.132 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba1dc',
    500: '#507ccc',
    950: '#000000',
  },
}
SCSS
$custom: #507ccc;
$custom-light: #8ba1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#507ccc",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 218.71,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.13225,
    "h": 261.5
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#507CCC
secondary
#D6C3A2
accent
#A94ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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