#505CF2#505CF2

#505CF2 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.7% C 0.222 H 273.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#505CF2
RGBrgb(80, 92, 242)
HSLhsl(236, 86%, 63%)
HSVhsv(236, 67%, 95%)
CMYKcmyk(66.9%, 62%, 0%, 5.1%)
CIE-LABlab(46.67, 42.16, -76.69)
CIE-LCHlch(46.67, 87.51, 298.80°)
OKLaboklab(55.72% 0.0126 -0.2213)
OKLCHoklch(55.72% 0.222 273.2)
XYZxyz(23.1571, 15.7684, 85.8104)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CF2 #F2E650
analogous
#50ADF2 #505CF2 #9550F2
triadic
#505CF2 #F2505C #5CF250
tetradic
#505CF2 #F250AD #F2E650 #50F295
square
#505CF2 #F250AD #F2E650 #50F295
split-complementary
#505CF2 #F29550 #ADF250
monochromatic
#0E1BBA #1727EE #505CF2 #8991F6 #C2C6FA

Accessibility & contrast

On white

5.06
#505CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #505CF2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CF2#FFFFFF#000000##FFFFFF
##505CF21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #505cf2;
/* rgb */ color: rgb(80, 92, 242);
/* oklch */ color: oklch(55.7% 0.222 273.2);
Tailwind
colors: {
  custom: {
    50: '#948af7',
    500: '#505cf2',
    950: '#000000',
  },
}
SCSS
$custom: #505cf2;
$custom-light: #948af7;
$custom-dark: #000000;
JSON
{
  "hex": "#505cf2",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 235.556,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55721,
    "c": 0.22162,
    "h": 273.2
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#505CF2
secondary
#ECE8B2
accent
#D203E3
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #505CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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