#505EE8#505EE8

#505EE8 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.3% C 0.207 H 273.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#505EE8
RGBrgb(80, 94, 232)
HSLhsl(234, 77%, 61%)
HSVhsv(234, 66%, 91%)
CMYKcmyk(65.5%, 59.5%, 0%, 9%)
CIE-LABlab(46.36, 37.61, -71.57)
CIE-LCHlch(46.36, 80.85, 297.72°)
OKLaboklab(55.25% 0.0114 -0.2062)
OKLCHoklch(55.25% 0.207 273.2)
XYZxyz(21.8716, 15.5351, 78.1742)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EE8 #E8DA50
analogous
#50AAE8 #505EE8 #8E50E8
triadic
#505EE8 #E8505E #5EE850
tetradic
#505EE8 #E850AA #E8DA50 #50E88E
square
#505EE8 #E850AA #E8DA50 #50E88E
split-complementary
#505EE8 #E88E50 #AAE850
monochromatic
#1623A8 #1D2FDE #505EE8 #8690EF #BCC2F6

Accessibility & contrast

On white

5.11
#505EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#505EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EE8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EE8#FFFFFF#000000##FFFFFF
##505EE81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#00809A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #505ee8;
/* rgb */ color: rgb(80, 94, 232);
/* oklch */ color: oklch(55.3% 0.207 273.2);
Tailwind
colors: {
  custom: {
    50: '#928bf0',
    500: '#505ee8',
    950: '#000000',
  },
}
SCSS
$custom: #505ee8;
$custom-light: #928bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#505ee8",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 234.474,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.20653,
    "h": 273.2
  },
  "luminance": 0.15537
}

Semantic roles & 50–950 ramp

primary
#505EE8
secondary
#E6E1AD
accent
#C60DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #505EE8

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

Preview Lab → · Contrast checker → · Palette generator →

#505EE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva