#507DD6#507DD6

#507DD6 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.145 H 262.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#507DD6
RGBrgb(80, 125, 214)
HSLhsl(220, 62%, 58%)
HSVhsv(220, 63%, 84%)
CMYKcmyk(62.6%, 41.6%, 0%, 16.1%)
CIE-LABlab(53.20, 12.30, -50.39)
CIE-LCHlch(53.20, 51.87, 283.72°)
OKLaboklab(60.05% -0.0186 -0.1435)
OKLCHoklch(60.05% 0.145 262.6)
XYZxyz(22.7752, 21.2257, 66.5020)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DD6 #D6A950
analogous
#50C0D6 #507DD6 #6650D6
triadic
#507DD6 #D6507D #7DD650
tetradic
#507DD6 #D650C0 #D6A950 #50D666
square
#507DD6 #D650C0 #D6A950 #50D666
split-complementary
#507DD6 #D66650 #C0D650
monochromatic
#21448B #2C5DBD #507DD6 #82A2E2 #B3C7ED

Accessibility & contrast

On white

4.00
#507DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#507DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DD6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DD6#FFFFFF#000000##000000
##507DD61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586D9
Deuteranopia (green-blind)
#4179D4
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507dd6;
/* rgb */ color: rgb(80, 125, 214);
/* oklch */ color: oklch(60.1% 0.145 262.6);
Tailwind
colors: {
  custom: {
    50: '#8da2e3',
    500: '#507dd6',
    950: '#000000',
  },
}
SCSS
$custom: #507dd6;
$custom-light: #8da2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#507dd6",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 214
  },
  "hsl": {
    "h": 219.851,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.14475,
    "h": 262.6
  },
  "luminance": 0.21228
}

Semantic roles & 50–950 ramp

primary
#507DD6
secondary
#DCCAA6
accent
#AF43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #507DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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