#505EE7#505EE7

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

Color values

HEX#505EE7
RGBrgb(80, 94, 231)
HSLhsl(234, 76%, 61%)
HSVhsv(234, 65%, 91%)
CMYKcmyk(65.4%, 59.3%, 0%, 9.4%)
CIE-LABlab(46.28, 37.27, -71.13)
CIE-LCHlch(46.28, 80.31, 297.66°)
OKLaboklab(55.17% 0.0114 -0.2049)
OKLCHoklch(55.17% 0.205 273.2)
XYZxyz(21.7300, 15.4785, 77.4283)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EE7 #E7D950
analogous
#50A9E7 #505EE7 #8D50E7
triadic
#505EE7 #E7505E #5EE750
tetradic
#505EE7 #E750A9 #E7D950 #50E78D
square
#505EE7 #E750A9 #E7D950 #50E78D
split-complementary
#505EE7 #E78D50 #A9E750
monochromatic
#1724A6 #1E30DC #505EE7 #8690EE #BCC1F6

Accessibility & contrast

On white

5.13
#505EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#505EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EE7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EE7#FFFFFF#000000##FFFFFF
##505EE71.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#008099
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #505ee7;
/* rgb */ color: rgb(80, 94, 231);
/* oklch */ color: oklch(55.2% 0.205 273.2);
Tailwind
colors: {
  custom: {
    50: '#918bf0',
    500: '#505ee7',
    950: '#000000',
  },
}
SCSS
$custom: #505ee7;
$custom-light: #918bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#505ee7",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 234.437,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.20525,
    "h": 273.2
  },
  "luminance": 0.1548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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