#505FDE#505FDE

#505FDE is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.192 H 273.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#505FDE
RGBrgb(80, 95, 222)
HSLhsl(234, 68%, 59%)
HSVhsv(234, 64%, 87%)
CMYKcmyk(64%, 57.2%, 0%, 12.9%)
CIE-LABlab(45.86, 33.63, -66.73)
CIE-LCHlch(45.86, 74.73, 296.75°)
OKLaboklab(54.64% 0.0106 -0.192)
OKLCHoklch(54.64% 0.192 273.2)
XYZxyz(20.5809, 15.1620, 70.9351)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FDE #DECF50
analogous
#50A6DE #505FDE #8850DE
triadic
#505FDE #DE505F #5FDE50
tetradic
#505FDE #DE50A6 #DECF50 #50DE88
square
#505FDE #DE50A6 #DECF50 #50DE88
split-complementary
#505FDE #DE8850 #A6DE50
monochromatic
#1C2997 #2638CB #505FDE #838EE8 #B7BDF1

Accessibility & contrast

On white

5.21
#505FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#505FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FDE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FDE#FFFFFF#000000##FFFFFF
##505FDE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #505fde;
/* rgb */ color: rgb(80, 95, 222);
/* oklch */ color: oklch(54.6% 0.192 273.2);
Tailwind
colors: {
  custom: {
    50: '#908ce9',
    500: '#505fde',
    950: '#000000',
  },
}
SCSS
$custom: #505fde;
$custom-light: #908ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#505fde",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 233.662,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54643,
    "c": 0.19228,
    "h": 273.2
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#505FDE
secondary
#E1DBA9
accent
#D93DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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