#505CCF#505CCF

#505CCF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.176 H 274.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#505CCF
RGBrgb(80, 92, 207)
HSLhsl(234, 57%, 56%)
HSVhsv(234, 61%, 81%)
CMYKcmyk(61.4%, 55.6%, 0%, 18.8%)
CIE-LABlab(44.04, 30.44, -61.12)
CIE-LCHlch(44.04, 68.28, 296.47°)
OKLaboklab(52.95% 0.013 -0.1755)
OKLCHoklch(52.95% 0.176 274.2)
XYZxyz(18.3942, 13.8633, 60.7259)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CCF #CFC350
analogous
#509CCF #505CCF #8450CF
triadic
#505CCF #CF505C #5CCF50
tetradic
#505CCF #CF509C #CFC350 #50CF84
square
#505CCF #CF509C #CFC350 #50CF84
split-complementary
#505CCF #CF8450 #9CCF50
monochromatic
#232C81 #313DB1 #505CCF #8089DC #B0B5E9

Accessibility & contrast

On white

5.57
#505CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#505CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CCF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CCF#FFFFFF#000000##FFFFFF
##505CCF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #505ccf;
/* rgb */ color: rgb(80, 92, 207);
/* oklch */ color: oklch(52.9% 0.176 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d8ade',
    500: '#505ccf',
    950: '#000000',
  },
}
SCSS
$custom: #505ccf;
$custom-light: #8d8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#505ccf",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 234.331,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.17598,
    "h": 274.2
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#505CCF
secondary
#D8D3A3
accent
#D248E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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