#505FE8#505FE8

#505FE8 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.4% C 0.205 H 273.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#505FE8
RGBrgb(80, 95, 232)
HSLhsl(234, 77%, 61%)
HSVhsv(234, 66%, 91%)
CMYKcmyk(65.5%, 59.1%, 0%, 9%)
CIE-LABlab(46.60, 37.00, -71.18)
CIE-LCHlch(46.60, 80.23, 297.46°)
OKLaboklab(55.43% 0.0106 -0.2051)
OKLCHoklch(55.43% 0.205 273)
XYZxyz(21.9611, 15.7141, 78.2041)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FE8 #E8D950
analogous
#50ABE8 #505FE8 #8D50E8
triadic
#505FE8 #E8505F #5FE850
tetradic
#505FE8 #E850AB #E8D950 #50E88D
square
#505FE8 #E850AB #E8D950 #50E88D
split-complementary
#505FE8 #E88D50 #ABE850
monochromatic
#1624A8 #1D30DE #505FE8 #8690EF #BCC2F6

Accessibility & contrast

On white

5.07
#505FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#505FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FE8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FE8#FFFFFF#000000##FFFFFF
##505FE81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #505fe8;
/* rgb */ color: rgb(80, 95, 232);
/* oklch */ color: oklch(55.4% 0.205 273.0);
Tailwind
colors: {
  custom: {
    50: '#918cf0',
    500: '#505fe8',
    950: '#000000',
  },
}
SCSS
$custom: #505fe8;
$custom-light: #918cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#505fe8",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 234.079,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.20534,
    "h": 273
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#505FE8
secondary
#E6E1AD
accent
#C50DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #505FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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