#507DD9#507DD9

#507DD9 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.2% C 0.149 H 263.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#507DD9
RGBrgb(80, 125, 217)
HSLhsl(220, 64%, 58%)
HSVhsv(220, 63%, 85%)
CMYKcmyk(63.1%, 42.4%, 0%, 14.9%)
CIE-LABlab(53.36, 13.33, -51.81)
CIE-LCHlch(53.36, 53.50, 284.43°)
OKLaboklab(60.23% -0.018 -0.1477)
OKLCHoklch(60.23% 0.149 263)
XYZxyz(23.1619, 21.3803, 68.5384)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DD9 #D9AC50
analogous
#50C1D9 #507DD9 #6750D9
triadic
#507DD9 #D9507D #7DD950
tetradic
#507DD9 #D950C1 #D9AC50 #50D967
square
#507DD9 #D950C1 #D9AC50 #50D967
split-complementary
#507DD9 #D96750 #C1D950
monochromatic
#1F448F #2A5CC2 #507DD9 #82A2E4 #B5C8EF

Accessibility & contrast

On white

3.98
#507DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#507DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DD9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DD9#FFFFFF#000000##000000
##507DD91.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DD
Deuteranopia (green-blind)
#3E7AD7
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507dd9;
/* rgb */ color: rgb(80, 125, 217);
/* oklch */ color: oklch(60.2% 0.149 263.0);
Tailwind
colors: {
  custom: {
    50: '#8da2e5',
    500: '#507dd9',
    950: '#000000',
  },
}
SCSS
$custom: #507dd9;
$custom-light: #8da2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#507dd9",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 217
  },
  "hsl": {
    "h": 220.292,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.14883,
    "h": 263
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#507DD9
secondary
#DECCA7
accent
#B140E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #507DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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