#505DF1#505DF1

#505DF1 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.8% C 0.219 H 273.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#505DF1
RGBrgb(80, 93, 241)
HSLhsl(235, 85%, 63%)
HSVhsv(235, 67%, 95%)
CMYKcmyk(66.8%, 61.4%, 0%, 5.5%)
CIE-LABlab(46.82, 41.23, -75.88)
CIE-LCHlch(46.82, 86.36, 298.52°)
OKLaboklab(55.81% 0.0119 -0.2189)
OKLCHoklch(55.81% 0.219 273.1)
XYZxyz(23.0945, 15.8829, 85.0507)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DF1 #F1E450
analogous
#50AEF1 #505DF1 #9350F1
triadic
#505DF1 #F1505D #5DF150
tetradic
#505DF1 #F150AE #F1E450 #50F193
square
#505DF1 #F150AE #F1E450 #50F193
split-complementary
#505DF1 #F19350 #AEF150
monochromatic
#0F1CB8 #1729EC #505DF1 #8991F6 #C1C6FA

Accessibility & contrast

On white

5.03
#505DF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#505DF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DF1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DF1#FFFFFF#000000##FFFFFF
##505DF11.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #505df1;
/* rgb */ color: rgb(80, 93, 241);
/* oklch */ color: oklch(55.8% 0.219 273.1);
Tailwind
colors: {
  custom: {
    50: '#938bf7',
    500: '#505df1',
    950: '#000000',
  },
}
SCSS
$custom: #505df1;
$custom-light: #938bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#505df1",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 235.155,
    "s": 85.185,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.2192,
    "h": 273.1
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#505DF1
secondary
#EBE7B1
accent
#D004E2
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #505DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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