#507CCE#507CCE

#507CCE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.135 H 261.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#507CCE
RGBrgb(80, 124, 206)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 61%, 81%)
CMYKcmyk(61.2%, 39.8%, 0%, 19.2%)
CIE-LABlab(52.48, 10.19, -46.99)
CIE-LCHlch(52.48, 48.09, 282.24°)
OKLaboklab(59.36% -0.0192 -0.1336)
OKLCHoklch(59.36% 0.135 261.8)
XYZxyz(21.6526, 20.5751, 61.2109)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CCE #CEA250
analogous
#50BBCE #507CCE #6350CE
triadic
#507CCE #CE507C #7CCE50
tetradic
#507CCE #CE50BB #CEA250 #50CE63
square
#507CCE #CE50BB #CEA250 #50CE63
split-complementary
#507CCE #CE6350 #BBCE50
monochromatic
#244480 #315DB0 #507CCE #80A0DB #B0C4E9

Accessibility & contrast

On white

4.11
#507CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#507CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CCE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CCE#FFFFFF#000000##000000
##507CCE1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D1
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507cce;
/* rgb */ color: rgb(80, 124, 206);
/* oklch */ color: oklch(59.4% 0.135 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ca1dd',
    500: '#507cce',
    950: '#000000',
  },
}
SCSS
$custom: #507cce;
$custom-light: #8ca1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#507cce",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 219.048,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.13498,
    "h": 261.8
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#507CCE
secondary
#D7C5A3
accent
#AB48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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