#507CD9#507CD9

#507CD9 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.150 H 263.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#507CD9
RGBrgb(80, 124, 217)
HSLhsl(221, 64%, 58%)
HSVhsv(221, 63%, 85%)
CMYKcmyk(63.1%, 42.9%, 0%, 14.9%)
CIE-LABlab(53.09, 13.94, -52.25)
CIE-LCHlch(53.09, 54.08, 284.94°)
OKLaboklab(60.02% -0.017 -0.149)
OKLCHoklch(60.02% 0.15 263.5)
XYZxyz(23.0359, 21.1284, 68.4964)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CD9 #D9AD50
analogous
#50C0D9 #507CD9 #6850D9
triadic
#507CD9 #D9507C #7CD950
tetradic
#507CD9 #D950C0 #D9AD50 #50D968
square
#507CD9 #D950C0 #D9AD50 #50D968
split-complementary
#507CD9 #D96850 #C0D950
monochromatic
#1F438F #2A5BC2 #507CD9 #82A2E4 #B5C7EF

Accessibility & contrast

On white

4.02
#507CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#507CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CD9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CD9#FFFFFF#000000##000000
##507CD91.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DD
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507cd9;
/* rgb */ color: rgb(80, 124, 217);
/* oklch */ color: oklch(60.0% 0.150 263.5);
Tailwind
colors: {
  custom: {
    50: '#8da1e5',
    500: '#507cd9',
    950: '#000000',
  },
}
SCSS
$custom: #507cd9;
$custom-light: #8da1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#507cd9",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 220.73,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.14999,
    "h": 263.5
  },
  "luminance": 0.21131
}

Semantic roles & 50–950 ramp

primary
#507CD9
secondary
#DECCA7
accent
#B240E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #507CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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