#505ADF#505ADF

#505ADF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.8% C 0.200 H 274.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#505ADF
RGBrgb(80, 90, 223)
HSLhsl(236, 69%, 59%)
HSVhsv(236, 64%, 87%)
CMYKcmyk(64.1%, 59.6%, 0%, 12.5%)
CIE-LABlab(44.72, 37.04, -69.14)
CIE-LCHlch(44.72, 78.44, 298.18°)
OKLaboklab(53.83% 0.0148 -0.1991)
OKLCHoklch(53.83% 0.2 274.2)
XYZxyz(20.2793, 14.3438, 71.4977)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ADF #DFD550
analogous
#50A2DF #505ADF #8E50DF
triadic
#505ADF #DF505A #5ADF50
tetradic
#505ADF #DF50A2 #DFD550 #50DF8E
square
#505ADF #DF50A2 #DFD550 #50DF8E
split-complementary
#505ADF #DF8E50 #A2DF50
monochromatic
#1C2599 #2531CC #505ADF #848BE8 #B7BCF2

Accessibility & contrast

On white

5.43
#505ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#505ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ADF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ADF#FFFFFF#000000##FFFFFF
##505ADF1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505adf;
/* rgb */ color: rgb(80, 90, 223);
/* oklch */ color: oklch(53.8% 0.200 274.2);
Tailwind
colors: {
  custom: {
    50: '#9088ea',
    500: '#505adf',
    950: '#000000',
  },
}
SCSS
$custom: #505adf;
$custom-light: #9088ea;
$custom-dark: #000000;
JSON
{
  "hex": "#505adf",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 223
  },
  "hsl": {
    "h": 235.804,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.19967,
    "h": 274.2
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#505ADF
secondary
#E1DDAA
accent
#E03CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #505ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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