#505FDF#505FDF

#505FDF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.194 H 273.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#505FDF
RGBrgb(80, 95, 223)
HSLhsl(234, 69%, 59%)
HSVhsv(234, 64%, 87%)
CMYKcmyk(64.1%, 57.4%, 0%, 12.5%)
CIE-LABlab(45.93, 33.97, -67.18)
CIE-LCHlch(45.93, 75.28, 296.82°)
OKLaboklab(54.72% 0.0106 -0.1933)
OKLCHoklch(54.72% 0.194 273.1)
XYZxyz(20.7153, 15.2158, 71.6430)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FDF #DFD050
analogous
#50A7DF #505FDF #8950DF
triadic
#505FDF #DF505F #5FDF50
tetradic
#505FDF #DF50A7 #DFD050 #50DF89
square
#505FDF #DF50A7 #DFD050 #50DF89
split-complementary
#505FDF #DF8950 #A7DF50
monochromatic
#1C2999 #2537CC #505FDF #848EE8 #B7BEF2

Accessibility & contrast

On white

5.19
#505FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#505FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FDF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FDF#FFFFFF#000000##FFFFFF
##505FDF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #505fdf;
/* rgb */ color: rgb(80, 95, 223);
/* oklch */ color: oklch(54.7% 0.194 273.1);
Tailwind
colors: {
  custom: {
    50: '#908cea',
    500: '#505fdf',
    950: '#000000',
  },
}
SCSS
$custom: #505fdf;
$custom-light: #908cea;
$custom-dark: #000000;
JSON
{
  "hex": "#505fdf",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 233.706,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.1936,
    "h": 273.1
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#505FDF
secondary
#E1DBAA
accent
#D93CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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