#505FC6#505FC6

#505FC6 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.160 H 273.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#505FC6
RGBrgb(80, 95, 198)
HSLhsl(232, 51%, 55%)
HSVhsv(232, 60%, 78%)
CMYKcmyk(59.6%, 52%, 0%, 22.4%)
CIE-LABlab(44.18, 25.52, -55.69)
CIE-LCHlch(44.18, 61.26, 294.62°)
OKLaboklab(52.86% 0.0096 -0.1595)
OKLCHoklch(52.86% 0.16 273.4)
XYZxyz(17.5902, 13.9657, 55.1838)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FC6 #C6B750
analogous
#509AC6 #505FC6 #7C50C6
triadic
#505FC6 #C6505F #5FC650
tetradic
#505FC6 #C6509A #C6B750 #50C67C
square
#505FC6 #C6509A #C6B750 #50C67C
split-complementary
#505FC6 #C67C50 #9AC650
monochromatic
#263075 #3543A4 #505FC6 #7E89D5 #ACB3E4

Accessibility & contrast

On white

5.54
#505FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#505FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FC6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FC6#FFFFFF#000000##FFFFFF
##505FC61.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236ECA
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #505fc6;
/* rgb */ color: rgb(80, 95, 198);
/* oklch */ color: oklch(52.9% 0.160 273.4);
Tailwind
colors: {
  custom: {
    50: '#8b8cd8',
    500: '#505fc6',
    950: '#000000',
  },
}
SCSS
$custom: #505fc6;
$custom-light: #8b8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#505fc6",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 232.373,
    "s": 50.862,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.1598,
    "h": 273.4
  },
  "luminance": 0.13967
}

Semantic roles & 50–950 ramp

primary
#505FC6
secondary
#D2CCA0
accent
#C84DDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #505FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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