#507EDB#507EDB

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

Color values

HEX#507EDB
RGBrgb(80, 126, 219)
HSLhsl(220, 66%, 59%)
HSVhsv(220, 63%, 86%)
CMYKcmyk(63.5%, 42.5%, 0%, 14.1%)
CIE-LABlab(53.75, 13.40, -52.32)
CIE-LCHlch(53.75, 54.01, 284.37°)
OKLaboklab(60.57% -0.0186 -0.1492)
OKLCHoklch(60.57% 0.15 262.9)
XYZxyz(23.5508, 21.7395, 69.9591)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EDB #DBAD50
analogous
#50C3DB #507EDB #6750DB
triadic
#507EDB #DB507E #7EDB50
tetradic
#507EDB #DB50C3 #DBAD50 #50DB67
square
#507EDB #DB50C3 #DBAD50 #50DB67
split-complementary
#507EDB #DB6750 #C3DB50
monochromatic
#1E4592 #295CC5 #507EDB #83A3E5 #B6C9F0

Accessibility & contrast

On white

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

On black

5.35
#507EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507EDB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507EDB#FFFFFF#000000##000000
##507EDB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DF
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507edb;
/* rgb */ color: rgb(80, 126, 219);
/* oklch */ color: oklch(60.6% 0.150 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ea2e7',
    500: '#507edb',
    950: '#000000',
  },
}
SCSS
$custom: #507edb;
$custom-light: #8ea2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#507edb",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 219
  },
  "hsl": {
    "h": 220.144,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.15037,
    "h": 262.9
  },
  "luminance": 0.21742
}

Semantic roles & 50–950 ramp

primary
#507EDB
secondary
#DFCDA8
accent
#B13FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #507EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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