#505BDE#505BDE

#505BDE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.197 H 274.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#505BDE
RGBrgb(80, 91, 222)
HSLhsl(235, 68%, 59%)
HSVhsv(235, 64%, 87%)
CMYKcmyk(64%, 59%, 0%, 12.9%)
CIE-LABlab(44.89, 36.09, -68.31)
CIE-LCHlch(44.89, 77.26, 297.85°)
OKLaboklab(53.92% 0.014 -0.1967)
OKLCHoklch(53.92% 0.197 274.1)
XYZxyz(20.2298, 14.4598, 70.8180)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BDE #DED350
analogous
#50A2DE #505BDE #8C50DE
triadic
#505BDE #DE505B #5BDE50
tetradic
#505BDE #DE50A2 #DED350 #50DE8C
square
#505BDE #DE50A2 #DED350 #50DE8C
split-complementary
#505BDE #DE8C50 #A2DE50
monochromatic
#1C2697 #2633CB #505BDE #838BE8 #B7BCF1

Accessibility & contrast

On white

5.40
#505BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#505BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BDE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BDE#FFFFFF#000000##FFFFFF
##505BDE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505bde;
/* rgb */ color: rgb(80, 91, 222);
/* oklch */ color: oklch(53.9% 0.197 274.1);
Tailwind
colors: {
  custom: {
    50: '#9089e9',
    500: '#505bde',
    950: '#000000',
  },
}
SCSS
$custom: #505bde;
$custom-light: #9089e9;
$custom-dark: #000000;
JSON
{
  "hex": "#505bde",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 235.352,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.19716,
    "h": 274.1
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

primary
#505BDE
secondary
#E1DCA9
accent
#DE3DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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