#505FD3#505FD3

#505FD3 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.178 H 273.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#505FD3
RGBrgb(80, 95, 211)
HSLhsl(233, 60%, 57%)
HSVhsv(233, 62%, 83%)
CMYKcmyk(62.1%, 55%, 0%, 17.3%)
CIE-LABlab(45.07, 29.91, -61.74)
CIE-LCHlch(45.07, 68.60, 295.85°)
OKLaboklab(53.81% 0.0103 -0.1773)
OKLCHoklch(53.81% 0.178 273.3)
XYZxyz(19.1545, 14.5914, 63.4224)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FD3 #D3C450
analogous
#50A0D3 #505FD3 #8350D3
triadic
#505FD3 #D3505F #5FD350
tetradic
#505FD3 #D350A0 #D3C450 #50D383
square
#505FD3 #D350A0 #D3C450 #50D383
split-complementary
#505FD3 #D38350 #A0D350
monochromatic
#222D87 #2E3EB8 #505FD3 #818CDF #B2B8EC

Accessibility & contrast

On white

5.36
#505FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#505FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FD3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FD3#FFFFFF#000000##FFFFFF
##505FD31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505fd3;
/* rgb */ color: rgb(80, 95, 211);
/* oklch */ color: oklch(53.8% 0.178 273.3);
Tailwind
colors: {
  custom: {
    50: '#8e8ce1',
    500: '#505fd3',
    950: '#000000',
  },
}
SCSS
$custom: #505fd3;
$custom-light: #8e8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#505fd3",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 233.13,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.17759,
    "h": 273.3
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#505FD3
secondary
#DAD4A5
accent
#D145E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #505FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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