#505EDB#505EDB

#505EDB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.190 H 273.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#505EDB
RGBrgb(80, 94, 219)
HSLhsl(234, 66%, 59%)
HSVhsv(234, 63%, 86%)
CMYKcmyk(63.5%, 57.1%, 0%, 14.1%)
CIE-LABlab(45.39, 33.24, -65.78)
CIE-LCHlch(45.39, 73.70, 296.81°)
OKLaboklab(54.23% 0.0114 -0.1892)
OKLCHoklch(54.23% 0.19 273.5)
XYZxyz(20.0929, 14.8236, 68.8065)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EDB #DBCD50
analogous
#50A3DB #505EDB #8750DB
triadic
#505EDB #DB505E #5EDB50
tetradic
#505EDB #DB50A3 #DBCD50 #50DB87
square
#505EDB #DB50A3 #DBCD50 #50DB87
split-complementary
#505EDB #DB8750 #A3DB50
monochromatic
#1E2A92 #2938C5 #505EDB #838DE5 #B6BBF0

Accessibility & contrast

On white

5.30
#505EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#505EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EDB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EDB#FFFFFF#000000##FFFFFF
##505EDB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #505edb;
/* rgb */ color: rgb(80, 94, 219);
/* oklch */ color: oklch(54.2% 0.190 273.5);
Tailwind
colors: {
  custom: {
    50: '#8f8be7',
    500: '#505edb',
    950: '#000000',
  },
}
SCSS
$custom: #505edb;
$custom-light: #8f8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#505edb",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 233.957,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.18954,
    "h": 273.5
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#505EDB
secondary
#DFD9A8
accent
#D83FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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