#507DDE#507DDE

#507DDE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.156 H 263.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#507DDE
RGBrgb(80, 125, 222)
HSLhsl(221, 68%, 59%)
HSVhsv(221, 64%, 87%)
CMYKcmyk(64%, 43.7%, 0%, 12.9%)
CIE-LABlab(53.65, 15.04, -54.17)
CIE-LCHlch(53.65, 56.22, 285.52°)
OKLaboklab(60.55% -0.0171 -0.1547)
OKLCHoklch(60.55% 0.156 263.7)
XYZxyz(23.8221, 21.6444, 72.0155)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DDE #DEB150
analogous
#50C4DE #507DDE #6A50DE
triadic
#507DDE #DE507D #7DDE50
tetradic
#507DDE #DE50C4 #DEB150 #50DE6A
square
#507DDE #DE50C4 #DEB150 #50DE6A
split-complementary
#507DDE #DE6A50 #C4DE50
monochromatic
#1C4397 #265ACB #507DDE #83A3E8 #B7CAF1

Accessibility & contrast

On white

3.94
#507DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#507DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DDE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DDE#FFFFFF#000000##000000
##507DDE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E2
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507dde;
/* rgb */ color: rgb(80, 125, 222);
/* oklch */ color: oklch(60.5% 0.156 263.7);
Tailwind
colors: {
  custom: {
    50: '#8ea2e9',
    500: '#507dde',
    950: '#000000',
  },
}
SCSS
$custom: #507dde;
$custom-light: #8ea2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#507dde",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 220.986,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60546,
    "c": 0.15561,
    "h": 263.7
  },
  "luminance": 0.21647
}

Semantic roles & 50–950 ramp

primary
#507DDE
secondary
#E1CFA9
accent
#B43DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #507DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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