#505CF1#505CF1

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

Color values

HEX#505CF1
RGBrgb(80, 92, 241)
HSLhsl(236, 85%, 63%)
HSVhsv(236, 67%, 95%)
CMYKcmyk(66.8%, 61.8%, 0%, 5.5%)
CIE-LABlab(46.59, 41.83, -76.26)
CIE-LCHlch(46.59, 86.98, 298.75°)
OKLaboklab(55.64% 0.0126 -0.22)
OKLCHoklch(55.64% 0.22 273.3)
XYZxyz(23.0073, 15.7085, 85.0216)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CF1 #F1E550
analogous
#50ACF1 #505CF1 #9450F1
triadic
#505CF1 #F1505C #5CF150
tetradic
#505CF1 #F150AC #F1E550 #50F194
square
#505CF1 #F150AC #F1E550 #50F194
split-complementary
#505CF1 #F19450 #ACF150
monochromatic
#0F1BB8 #1727EC #505CF1 #8991F6 #C1C6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505CF1#FFFFFF#000000##FFFFFF
##505CF11.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)
#0076F6
Deuteranopia (green-blind)
#0067EE
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #505cf1;
/* rgb */ color: rgb(80, 92, 241);
/* oklch */ color: oklch(55.6% 0.220 273.3);
Tailwind
colors: {
  custom: {
    50: '#938af7',
    500: '#505cf1',
    950: '#000000',
  },
}
SCSS
$custom: #505cf1;
$custom-light: #938af7;
$custom-dark: #000000;
JSON
{
  "hex": "#505cf1",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 235.528,
    "s": 85.185,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.22035,
    "h": 273.3
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#505CF1
secondary
#EBE7B1
accent
#D104E2
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #505CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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