#505EF1#505EF1

#505EF1 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.0% C 0.218 H 272.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#505EF1
RGBrgb(80, 94, 241)
HSLhsl(235, 85%, 63%)
HSVhsv(235, 67%, 95%)
CMYKcmyk(66.8%, 61%, 0%, 5.5%)
CIE-LABlab(47.05, 40.62, -75.50)
CIE-LCHlch(47.05, 85.74, 298.28°)
OKLaboklab(55.98% 0.0111 -0.2178)
OKLCHoklch(55.98% 0.218 272.9)
XYZxyz(23.1828, 16.0596, 85.0801)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EF1 #F1E350
analogous
#50AEF1 #505EF1 #9350F1
triadic
#505EF1 #F1505E #5EF150
tetradic
#505EF1 #F150AE #F1E350 #50F193
square
#505EF1 #F150AE #F1E350 #50F193
split-complementary
#505EF1 #F19350 #AEF150
monochromatic
#0F1DB8 #172AEC #505EF1 #8992F6 #C1C6FA

Accessibility & contrast

On white

4.99
#505EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#505EF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EF1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EF1#FFFFFF#000000##FFFFFF
##505EF11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #505ef1;
/* rgb */ color: rgb(80, 94, 241);
/* oklch */ color: oklch(56.0% 0.218 272.9);
Tailwind
colors: {
  custom: {
    50: '#938bf7',
    500: '#505ef1',
    950: '#000000',
  },
}
SCSS
$custom: #505ef1;
$custom-light: #938bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#505ef1",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 234.783,
    "s": 85.185,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.21804,
    "h": 272.9
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#505EF1
secondary
#EBE6B1
accent
#CE04E2
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #505EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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