#505FDA#505FDA

#505FDA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.3% C 0.187 H 273.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#505FDA
RGBrgb(80, 95, 218)
HSLhsl(233, 65%, 58%)
HSVhsv(233, 63%, 85%)
CMYKcmyk(63.3%, 56.4%, 0%, 14.5%)
CIE-LABlab(45.57, 32.28, -64.93)
CIE-LCHlch(45.57, 72.51, 296.43°)
OKLaboklab(54.34% 0.0105 -0.1867)
OKLCHoklch(54.34% 0.187 273.2)
XYZxyz(20.0512, 14.9501, 68.1451)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FDA #DACB50
analogous
#50A4DA #505FDA #8650DA
triadic
#505FDA #DA505F #5FDA50
tetradic
#505FDA #DA50A4 #DACB50 #50DA86
square
#505FDA #DA50A4 #DACB50 #50DA86
split-complementary
#505FDA #DA8650 #A4DA50
monochromatic
#1F2B91 #293AC3 #505FDA #838DE5 #B5BBEF

Accessibility & contrast

On white

5.26
#505FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#505FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FDA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FDA#FFFFFF#000000##FFFFFF
##505FDA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505fda;
/* rgb */ color: rgb(80, 95, 218);
/* oklch */ color: oklch(54.3% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#8f8ce6',
    500: '#505fda',
    950: '#000000',
  },
}
SCSS
$custom: #505fda;
$custom-light: #8f8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#505fda",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 233.478,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54336,
    "c": 0.18698,
    "h": 273.2
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#505FDA
secondary
#DED8A8
accent
#D640E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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