#507DEB#507DEB

#507DEB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.4% C 0.173 H 265.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#507DEB
RGBrgb(80, 125, 235)
HSLhsl(223, 79%, 62%)
HSVhsv(223, 66%, 92%)
CMYKcmyk(66%, 46.8%, 0%, 7.8%)
CIE-LABlab(54.42, 19.52, -60.22)
CIE-LCHlch(54.42, 63.31, 287.96°)
OKLaboklab(61.38% -0.0151 -0.1724)
OKLCHoklch(61.38% 0.173 265)
XYZxyz(25.6320, 22.3684, 81.5479)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DEB #EBBE50
analogous
#50CAEB #507DEB #7150EB
triadic
#507DEB #EB507D #7DEB50
tetradic
#507DEB #EB50CA #EBBE50 #50EB71
square
#507DEB #EB50CA #EBBE50 #50EB71
split-complementary
#507DEB #EB7150 #CAEB50
monochromatic
#1440AD #1A55E4 #507DEB #87A6F1 #BECFF8

Accessibility & contrast

On white

3.84
#507DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#507DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DEB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DEB#FFFFFF#000000##000000
##507DEB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#237BE9
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507deb;
/* rgb */ color: rgb(80, 125, 235);
/* oklch */ color: oklch(61.4% 0.173 265.0);
Tailwind
colors: {
  custom: {
    50: '#90a2f2',
    500: '#507deb',
    950: '#000000',
  },
}
SCSS
$custom: #507deb;
$custom-light: #90a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#507deb",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 222.581,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.1731,
    "h": 265
  },
  "luminance": 0.22371
}

Semantic roles & 50–950 ramp

primary
#507DEB
secondary
#E8D7AF
accent
#9F0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #507DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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