#505DDF#505DDF

#505DDF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.196 H 273.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#505DDF
RGBrgb(80, 93, 223)
HSLhsl(235, 69%, 59%)
HSVhsv(235, 64%, 87%)
CMYKcmyk(64.1%, 58.3%, 0%, 12.5%)
CIE-LABlab(45.44, 35.20, -67.97)
CIE-LCHlch(45.44, 76.55, 297.38°)
OKLaboklab(54.36% 0.0123 -0.1956)
OKLCHoklch(54.36% 0.196 273.6)
XYZxyz(20.5375, 14.8601, 71.5837)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DDF #DFD250
analogous
#50A5DF #505DDF #8A50DF
triadic
#505DDF #DF505D #5DDF50
tetradic
#505DDF #DF50A5 #DFD250 #50DF8A
square
#505DDF #DF50A5 #DFD250 #50DF8A
split-complementary
#505DDF #DF8A50 #A5DF50
monochromatic
#1C2799 #2535CC #505DDF #848DE8 #B7BDF2

Accessibility & contrast

On white

5.29
#505DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#505DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DDF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DDF#FFFFFF#000000##FFFFFF
##505DDF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505ddf;
/* rgb */ color: rgb(80, 93, 223);
/* oklch */ color: oklch(54.4% 0.196 273.6);
Tailwind
colors: {
  custom: {
    50: '#908bea',
    500: '#505ddf',
    950: '#000000',
  },
}
SCSS
$custom: #505ddf;
$custom-light: #908bea;
$custom-dark: #000000;
JSON
{
  "hex": "#505ddf",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 234.545,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.19604,
    "h": 273.6
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#505DDF
secondary
#E1DCAA
accent
#DC3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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