#505EE2#505EE2

#505EE2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.199 H 273.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#505EE2
RGBrgb(80, 94, 226)
HSLhsl(234, 72%, 60%)
HSVhsv(234, 65%, 89%)
CMYKcmyk(64.6%, 58.4%, 0%, 11.4%)
CIE-LABlab(45.91, 35.59, -68.92)
CIE-LCHlch(45.91, 77.57, 297.32°)
OKLaboklab(54.77% 0.0114 -0.1984)
OKLCHoklch(54.77% 0.199 273.3)
XYZxyz(21.0339, 15.2000, 73.7622)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EE2 #E2D450
analogous
#50A7E2 #505EE2 #8B50E2
triadic
#505EE2 #E2505E #5EE250
tetradic
#505EE2 #E250A7 #E2D450 #50E28B
square
#505EE2 #E250A7 #E2D450 #50E28B
split-complementary
#505EE2 #E28B50 #A7E250
monochromatic
#1A279E #2334D2 #505EE2 #848EEB #B9BFF3

Accessibility & contrast

On white

5.20
#505EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#505EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EE2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EE2#FFFFFF#000000##FFFFFF
##505EE21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #505ee2;
/* rgb */ color: rgb(80, 94, 226);
/* oklch */ color: oklch(54.8% 0.199 273.3);
Tailwind
colors: {
  custom: {
    50: '#908bec',
    500: '#505ee2',
    950: '#000000',
  },
}
SCSS
$custom: #505ee2;
$custom-light: #908bec;
$custom-dark: #000000;
JSON
{
  "hex": "#505ee2",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 234.247,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.19875,
    "h": 273.3
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#505EE2
secondary
#E3DEAB
accent
#DD39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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