#505FF4#505FF4

#505FF4 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.4% C 0.221 H 272.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#505FF4
RGBrgb(80, 95, 244)
HSLhsl(235, 88%, 64%)
HSVhsv(235, 67%, 96%)
CMYKcmyk(67.2%, 61.1%, 0%, 4.3%)
CIE-LABlab(47.52, 41.02, -76.42)
CIE-LCHlch(47.52, 86.73, 298.23°)
OKLaboklab(56.4% 0.0103 -0.2204)
OKLCHoklch(56.4% 0.221 272.7)
XYZxyz(23.7241, 16.4193, 87.4894)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FF4 #F4E550
analogous
#50B1F4 #505FF4 #9350F4
triadic
#505FF4 #F4505F #5FF450
tetradic
#505FF4 #F450B1 #F4E550 #50F493
square
#505FF4 #F450B1 #F4E550 #50F493
split-complementary
#505FF4 #F49350 #B1F450
monochromatic
#0C1CBE #162AF0 #505FF4 #8A94F8 #C3C8FB

Accessibility & contrast

On white

4.90
#505FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#505FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FF4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FF4#FFFFFF#000000##FFFFFF
##505FF41.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#0085A1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #505ff4;
/* rgb */ color: rgb(80, 95, 244);
/* oklch */ color: oklch(56.4% 0.221 272.7);
Tailwind
colors: {
  custom: {
    50: '#948cf9',
    500: '#505ff4',
    950: '#000000',
  },
}
SCSS
$custom: #505ff4;
$custom-light: #948cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#505ff4",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 234.512,
    "s": 88.172,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.22068,
    "h": 272.7
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#505FF4
secondary
#EDE8B3
accent
#D001E5
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #505FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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