#505FE0#505FE0

#505FE0 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.195 H 273.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#505FE0
RGBrgb(80, 95, 224)
HSLhsl(234, 70%, 60%)
HSVhsv(234, 64%, 88%)
CMYKcmyk(64.3%, 57.6%, 0%, 12.2%)
CIE-LABlab(46.00, 34.30, -67.63)
CIE-LCHlch(46.00, 75.83, 296.90°)
OKLaboklab(54.8% 0.0106 -0.1946)
OKLCHoklch(54.8% 0.195 273.1)
XYZxyz(20.8505, 15.2699, 72.3551)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FE0 #E0D150
analogous
#50A7E0 #505FE0 #8950E0
triadic
#505FE0 #E0505F #5FE050
tetradic
#505FE0 #E050A7 #E0D150 #50E089
square
#505FE0 #E050A7 #E0D150 #50E089
split-complementary
#505FE0 #E08950 #A7E050
monochromatic
#1B299A #2536CE #505FE0 #848FE9 #B8BEF2

Accessibility & contrast

On white

5.18
#505FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#505FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FE0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FE0#FFFFFF#000000##FFFFFF
##505FE01.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #505fe0;
/* rgb */ color: rgb(80, 95, 224);
/* oklch */ color: oklch(54.8% 0.195 273.1);
Tailwind
colors: {
  custom: {
    50: '#908ceb',
    500: '#505fe0',
    950: '#000000',
  },
}
SCSS
$custom: #505fe0;
$custom-light: #908ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#505fe0",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 233.75,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.19491,
    "h": 273.1
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#505FE0
secondary
#E2DCAA
accent
#DA3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #505FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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