#505FE9#505FE9

#505FE9 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.5% C 0.207 H 272.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#505FE9
RGBrgb(80, 95, 233)
HSLhsl(234, 78%, 61%)
HSVhsv(234, 66%, 91%)
CMYKcmyk(65.7%, 59.2%, 0%, 8.6%)
CIE-LABlab(46.67, 37.33, -71.62)
CIE-LCHlch(46.67, 80.77, 297.53°)
OKLaboklab(55.51% 0.0106 -0.2064)
OKLCHoklch(55.51% 0.207 272.9)
XYZxyz(22.1035, 15.7711, 78.9543)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FE9 #E9DA50
analogous
#50ACE9 #505FE9 #8E50E9
triadic
#505FE9 #E9505F #5FE950
tetradic
#505FE9 #E950AC #E9DA50 #50E98E
square
#505FE9 #E950AC #E9DA50 #50E98E
split-complementary
#505FE9 #E98E50 #ACE950
monochromatic
#1524A9 #1C2FE0 #505FE9 #8691F0 #BDC2F7

Accessibility & contrast

On white

5.05
#505FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#505FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FE9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FE9#FFFFFF#000000##FFFFFF
##505FE91.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #505fe9;
/* rgb */ color: rgb(80, 95, 233);
/* oklch */ color: oklch(55.5% 0.207 272.9);
Tailwind
colors: {
  custom: {
    50: '#928cf1',
    500: '#505fe9',
    950: '#000000',
  },
}
SCSS
$custom: #505fe9;
$custom-light: #928cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#505fe9",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 234.118,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.20664,
    "h": 272.9
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#505FE9
secondary
#E7E1AE
accent
#C60CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #505FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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