#507BCE#507BCE

#507BCE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.136 H 262.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#507BCE
RGBrgb(80, 123, 206)
HSLhsl(220, 56%, 56%)
HSVhsv(220, 61%, 81%)
CMYKcmyk(61.2%, 40.3%, 0%, 19.2%)
CIE-LABlab(52.20, 10.80, -47.43)
CIE-LCHlch(52.20, 48.65, 282.83°)
OKLaboklab(59.14% -0.0182 -0.1349)
OKLCHoklch(59.14% 0.136 262.3)
XYZxyz(21.5279, 20.3257, 61.1693)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BCE #CEA350
analogous
#50BACE #507BCE #6450CE
triadic
#507BCE #CE507B #7BCE50
tetradic
#507BCE #CE50BA #CEA350 #50CE64
square
#507BCE #CE50BA #CEA350 #50CE64
split-complementary
#507BCE #CE6450 #BACE50
monochromatic
#244380 #315CB0 #507BCE #809FDB #B0C3E9

Accessibility & contrast

On white

4.15
#507BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#507BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BCE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BCE#FFFFFF#000000##000000
##507BCE1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507bce;
/* rgb */ color: rgb(80, 123, 206);
/* oklch */ color: oklch(59.1% 0.136 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ca0dd',
    500: '#507bce',
    950: '#000000',
  },
}
SCSS
$custom: #507bce;
$custom-light: #8ca0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#507bce",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 219.524,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59142,
    "c": 0.13613,
    "h": 262.3
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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