#505BD3#505BD3

#505BD3 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.183 H 274.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#505BD3
RGBrgb(80, 91, 211)
HSLhsl(235, 60%, 57%)
HSVhsv(235, 62%, 83%)
CMYKcmyk(62.1%, 56.9%, 0%, 17.3%)
CIE-LABlab(44.07, 32.40, -63.35)
CIE-LCHlch(44.07, 71.16, 297.09°)
OKLaboklab(53.07% 0.014 -0.1821)
OKLCHoklch(53.07% 0.183 274.4)
XYZxyz(18.8034, 13.8892, 63.3054)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BD3 #D3C850
analogous
#509CD3 #505BD3 #8750D3
triadic
#505BD3 #D3505B #5BD350
tetradic
#505BD3 #D3509C #D3C850 #50D387
square
#505BD3 #D3509C #D3C850 #50D387
split-complementary
#505BD3 #D38750 #9CD350
monochromatic
#222A87 #2E3AB8 #505BD3 #8189DF #B2B7EC

Accessibility & contrast

On white

5.56
#505BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#505BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BD3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BD3#FFFFFF#000000##FFFFFF
##505BD31.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #505bd3;
/* rgb */ color: rgb(80, 91, 211);
/* oklch */ color: oklch(53.1% 0.183 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e89e1',
    500: '#505bd3',
    950: '#000000',
  },
}
SCSS
$custom: #505bd3;
$custom-light: #8e89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#505bd3",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 234.962,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.18262,
    "h": 274.4
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#505BD3
secondary
#DAD6A5
accent
#D645E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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