#505DD3#505DD3

#505DD3 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.180 H 273.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#505DD3
RGBrgb(80, 93, 211)
HSLhsl(234, 60%, 57%)
HSVhsv(234, 62%, 83%)
CMYKcmyk(62.1%, 55.9%, 0%, 17.3%)
CIE-LABlab(44.57, 31.16, -62.55)
CIE-LCHlch(44.57, 69.88, 296.48°)
OKLaboklab(53.44% 0.0122 -0.1797)
OKLCHoklch(53.44% 0.18 273.9)
XYZxyz(18.9766, 14.2358, 63.3631)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DD3 #D3C650
analogous
#509ED3 #505DD3 #8550D3
triadic
#505DD3 #D3505D #5DD350
tetradic
#505DD3 #D3509E #D3C650 #50D385
square
#505DD3 #D3509E #D3C650 #50D385
split-complementary
#505DD3 #D38550 #9ED350
monochromatic
#222C87 #2E3CB8 #505DD3 #818ADF #B2B8EC

Accessibility & contrast

On white

5.46
#505DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#505DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DD3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DD3#FFFFFF#000000##FFFFFF
##505DD31.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505dd3;
/* rgb */ color: rgb(80, 93, 211);
/* oklch */ color: oklch(53.4% 0.180 273.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ae1',
    500: '#505dd3',
    950: '#000000',
  },
}
SCSS
$custom: #505dd3;
$custom-light: #8e8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#505dd3",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 211
  },
  "hsl": {
    "h": 234.046,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53435,
    "c": 0.18011,
    "h": 273.9
  },
  "luminance": 0.14237
}

Semantic roles & 50–950 ramp

primary
#505DD3
secondary
#DAD5A5
accent
#D345E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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