#507BDE#507BDE

#507BDE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.1% C 0.158 H 264.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#507BDE
RGBrgb(80, 123, 222)
HSLhsl(222, 68%, 59%)
HSVhsv(222, 64%, 87%)
CMYKcmyk(64%, 44.6%, 0%, 12.9%)
CIE-LABlab(53.11, 16.27, -55.04)
CIE-LCHlch(53.11, 57.39, 286.47°)
OKLaboklab(60.13% -0.0152 -0.1572)
OKLCHoklch(60.13% 0.158 264.5)
XYZxyz(23.5715, 21.1431, 71.9319)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BDE #DEB350
analogous
#50C2DE #507BDE #6C50DE
triadic
#507BDE #DE507B #7BDE50
tetradic
#507BDE #DE50C2 #DEB350 #50DE6C
square
#507BDE #DE50C2 #DEB350 #50DE6C
split-complementary
#507BDE #DE6C50 #C2DE50
monochromatic
#1C4297 #2658CB #507BDE #83A2E8 #B7C9F1

Accessibility & contrast

On white

4.02
#507BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#507BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BDE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BDE#FFFFFF#000000##000000
##507BDE1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E2
Deuteranopia (green-blind)
#3379DC
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507bde;
/* rgb */ color: rgb(80, 123, 222);
/* oklch */ color: oklch(60.1% 0.158 264.5);
Tailwind
colors: {
  custom: {
    50: '#8ea0e9',
    500: '#507bde',
    950: '#000000',
  },
}
SCSS
$custom: #507bde;
$custom-light: #8ea0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#507bde",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 222
  },
  "hsl": {
    "h": 221.831,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60129,
    "c": 0.15797,
    "h": 264.5
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#507BDE
secondary
#E1D0A9
accent
#B63DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #507BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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