#505FCE#505FCE

#505FCE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.171 H 273.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#505FCE
RGBrgb(80, 95, 206)
HSLhsl(233, 56%, 56%)
HSVhsv(233, 61%, 81%)
CMYKcmyk(61.2%, 53.9%, 0%, 19.2%)
CIE-LABlab(44.72, 28.22, -59.43)
CIE-LCHlch(44.72, 65.79, 295.40°)
OKLaboklab(53.44% 0.0101 -0.1705)
OKLCHoklch(53.44% 0.171 273.4)
XYZxyz(18.5374, 14.3446, 60.1725)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FCE #CEBF50
analogous
#509ECE #505FCE #8050CE
triadic
#505FCE #CE505F #5FCE50
tetradic
#505FCE #CE509E #CEBF50 #50CE80
square
#505FCE #CE509E #CEBF50 #50CE80
split-complementary
#505FCE #CE8050 #9ECE50
monochromatic
#242F80 #3140B0 #505FCE #808BDB #B0B6E9

Accessibility & contrast

On white

5.43
#505FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#505FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FCE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FCE#FFFFFF#000000##FFFFFF
##505FCE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126FD2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #505fce;
/* rgb */ color: rgb(80, 95, 206);
/* oklch */ color: oklch(53.4% 0.171 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d8cde',
    500: '#505fce',
    950: '#000000',
  },
}
SCSS
$custom: #505fce;
$custom-light: #8d8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#505fce",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 232.857,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53439,
    "c": 0.17081,
    "h": 273.4
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#505FCE
secondary
#D7D1A3
accent
#CE48E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #505FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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