#505EDF#505EDF

#505EDF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.195 H 273.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#505EDF
RGBrgb(80, 94, 223)
HSLhsl(234, 69%, 59%)
HSVhsv(234, 64%, 87%)
CMYKcmyk(64.1%, 57.8%, 0%, 12.5%)
CIE-LABlab(45.68, 34.58, -67.58)
CIE-LCHlch(45.68, 75.91, 297.10°)
OKLaboklab(54.54% 0.0114 -0.1945)
OKLCHoklch(54.54% 0.195 273.4)
XYZxyz(20.6258, 15.0368, 71.6132)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EDF #DFD150
analogous
#50A6DF #505EDF #8A50DF
triadic
#505EDF #DF505E #5EDF50
tetradic
#505EDF #DF50A6 #DFD150 #50DF8A
square
#505EDF #DF50A6 #DFD150 #50DF8A
split-complementary
#505EDF #DF8A50 #A6DF50
monochromatic
#1C2899 #2536CC #505EDF #848EE8 #B7BDF2

Accessibility & contrast

On white

5.24
#505EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#505EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EDF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EDF#FFFFFF#000000##FFFFFF
##505EDF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #505edf;
/* rgb */ color: rgb(80, 94, 223);
/* oklch */ color: oklch(54.5% 0.195 273.4);
Tailwind
colors: {
  custom: {
    50: '#908bea',
    500: '#505edf',
    950: '#000000',
  },
}
SCSS
$custom: #505edf;
$custom-light: #908bea;
$custom-dark: #000000;
JSON
{
  "hex": "#505edf",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 234.126,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.19482,
    "h": 273.4
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#505EDF
secondary
#E1DCAA
accent
#DB3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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