#505FDD#505FDD

#505FDD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.191 H 273.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#505FDD
RGBrgb(80, 95, 221)
HSLhsl(234, 67%, 59%)
HSVhsv(234, 64%, 87%)
CMYKcmyk(63.8%, 57%, 0%, 13.3%)
CIE-LABlab(45.78, 33.29, -66.28)
CIE-LCHlch(45.78, 74.17, 296.67°)
OKLaboklab(54.57% 0.0106 -0.1907)
OKLCHoklch(54.57% 0.191 273.2)
XYZxyz(20.4473, 15.1086, 70.2313)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FDD #DDCE50
analogous
#50A6DD #505FDD #8850DD
triadic
#505FDD #DD505F #5FDD50
tetradic
#505FDD #DD50A6 #DDCE50 #50DD88
square
#505FDD #DD50A6 #DDCE50 #50DD88
split-complementary
#505FDD #DD8850 #A6DD50
monochromatic
#1D2A96 #2738C9 #505FDD #838EE7 #B6BDF1

Accessibility & contrast

On white

5.22
#505FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#505FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FDD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FDD#FFFFFF#000000##FFFFFF
##505FDD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505fdd;
/* rgb */ color: rgb(80, 95, 221);
/* oklch */ color: oklch(54.6% 0.191 273.2);
Tailwind
colors: {
  custom: {
    50: '#8f8ce8',
    500: '#505fdd',
    950: '#000000',
  },
}
SCSS
$custom: #505fdd;
$custom-light: #8f8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#505fdd",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 233.617,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.19095,
    "h": 273.2
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#505FDD
secondary
#E0DAA9
accent
#D83DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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