#507DEE#507DEE

#507DEE is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.6% C 0.177 H 265.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#507DEE
RGBrgb(80, 125, 238)
HSLhsl(223, 82%, 62%)
HSVhsv(223, 66%, 93%)
CMYKcmyk(66.4%, 47.5%, 0%, 6.7%)
CIE-LABlab(54.60, 20.56, -61.60)
CIE-LCHlch(54.60, 64.94, 288.46°)
OKLaboklab(61.58% -0.0147 -0.1765)
OKLCHoklch(61.58% 0.177 265.2)
XYZxyz(26.0691, 22.5432, 83.8498)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DEE #EEC150
analogous
#50CCEE #507DEE #7250EE
triadic
#507DEE #EE507D #7DEE50
tetradic
#507DEE #EE50CC #EEC150 #50EE72
square
#507DEE #EE50CC #EEC150 #50EE72
split-complementary
#507DEE #EE7250 #CCEE50
monochromatic
#113FB2 #1854E9 #507DEE #88A6F3 #C0D0F9

Accessibility & contrast

On white

3.81
#507DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#507DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DEE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DEE#FFFFFF#000000##000000
##507DEE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #507dee;
/* rgb */ color: rgb(80, 125, 238);
/* oklch */ color: oklch(61.6% 0.177 265.2);
Tailwind
colors: {
  custom: {
    50: '#91a2f4',
    500: '#507dee',
    950: '#000000',
  },
}
SCSS
$custom: #507dee;
$custom-light: #91a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#507dee",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 222.911,
    "s": 82.292,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.1771,
    "h": 265.2
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#507DEE
secondary
#EAD9B0
accent
#A107DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #507DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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