#507DEC#507DEC

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

Color values

HEX#507DEC
RGBrgb(80, 125, 236)
HSLhsl(223, 80%, 62%)
HSVhsv(223, 66%, 93%)
CMYKcmyk(66.1%, 47%, 0%, 7.5%)
CIE-LABlab(54.48, 19.87, -60.68)
CIE-LCHlch(54.48, 63.85, 288.13°)
OKLaboklab(61.45% -0.015 -0.1738)
OKLCHoklch(61.45% 0.174 265.1)
XYZxyz(25.7769, 22.4263, 82.3109)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DEC #ECBF50
analogous
#50CBEC #507DEC #7150EC
triadic
#507DEC #EC507D #7DEC50
tetradic
#507DEC #EC50CB #ECBF50 #50EC71
square
#507DEC #EC50CB #ECBF50 #50EC71
split-complementary
#507DEC #EC7150 #CBEC50
monochromatic
#1340AF #1954E6 #507DEC #87A6F2 #BECFF8

Accessibility & contrast

On white

3.83
#507DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#507DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DEC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DEC#FFFFFF#000000##000000
##507DEC1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#207CEA
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507dec;
/* rgb */ color: rgb(80, 125, 236);
/* oklch */ color: oklch(61.4% 0.174 265.1);
Tailwind
colors: {
  custom: {
    50: '#91a2f3',
    500: '#507dec',
    950: '#000000',
  },
}
SCSS
$custom: #507dec;
$custom-light: #91a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#507dec",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 222.692,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.17443,
    "h": 265.1
  },
  "luminance": 0.22429
}

Semantic roles & 50–950 ramp

primary
#507DEC
secondary
#E9D8AF
accent
#A009DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #507DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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