#505DFF#505DFF

#505DFF is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.0% C 0.237 H 272.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#505DFF
RGBrgb(80, 93, 255)
HSLhsl(236, 100%, 66%)
HSVhsv(236, 69%, 100%)
CMYKcmyk(68.6%, 63.5%, 0%, 0%)
CIE-LABlab(47.95, 45.87, -81.85)
CIE-LCHlch(47.95, 93.83, 299.26°)
OKLaboklab(56.98% 0.0111 -0.2364)
OKLCHoklch(56.98% 0.237 272.7)
XYZxyz(25.2666, 16.7517, 96.4902)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DFF #FFF250
analogous
#50B4FF #505DFF #9A50FF
triadic
#505DFF #FF505D #5DFF50
tetradic
#505DFF #FF50B4 #FFF250 #50FF9A
square
#505DFF #FF50B4 #FFF250 #50FF9A
split-complementary
#505DFF #FF9A50 #B4FF50
monochromatic
#0010D5 #1324FF #505DFF #8D96FF #CACEFF

Accessibility & contrast

On white

4.83
#505DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#505DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DFF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DFF#FFFFFF#000000##FFFFFF
##505DFF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#0087A6
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #505dff;
/* rgb */ color: rgb(80, 93, 255);
/* oklch */ color: oklch(57.0% 0.237 272.7);
Tailwind
colors: {
  custom: {
    50: '#968bff',
    500: '#505dff',
    950: '#000000',
  },
}
SCSS
$custom: #505dff;
$custom-light: #968bff;
$custom-dark: #000000;
JSON
{
  "hex": "#505dff",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 235.543,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.23665,
    "h": 272.7
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#505DFF
secondary
#F3EEB8
accent
#D400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #505DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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