#507DDF#507DDF

#507DDF is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.6% C 0.157 H 263.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#507DDF
RGBrgb(80, 125, 223)
HSLhsl(221, 69%, 59%)
HSVhsv(221, 64%, 87%)
CMYKcmyk(64.1%, 43.9%, 0%, 12.5%)
CIE-LABlab(53.71, 15.38, -54.64)
CIE-LCHlch(53.71, 56.77, 285.72°)
OKLaboklab(60.61% -0.017 -0.156)
OKLCHoklch(60.61% 0.157 263.8)
XYZxyz(23.9565, 21.6982, 72.7234)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DDF #DFB250
analogous
#50C4DF #507DDF #6B50DF
triadic
#507DDF #DF507D #7DDF50
tetradic
#507DDF #DF50C4 #DFB250 #50DF6B
square
#507DDF #DF50C4 #DFB250 #50DF6B
split-complementary
#507DDF #DF6B50 #C4DF50
monochromatic
#1C4399 #255ACC #507DDF #84A3E8 #B7CAF2

Accessibility & contrast

On white

3.93
#507DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#507DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DDF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DDF#FFFFFF#000000##000000
##507DDF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E3
Deuteranopia (green-blind)
#377ADD
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507ddf;
/* rgb */ color: rgb(80, 125, 223);
/* oklch */ color: oklch(60.6% 0.157 263.8);
Tailwind
colors: {
  custom: {
    50: '#8ea2e9',
    500: '#507ddf',
    950: '#000000',
  },
}
SCSS
$custom: #507ddf;
$custom-light: #8ea2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#507ddf",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 221.119,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60608,
    "c": 0.15696,
    "h": 263.8
  },
  "luminance": 0.217
}

Semantic roles & 50–950 ramp

primary
#507DDF
secondary
#E1D0AA
accent
#B53CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #507DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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