#505ACC#505ACC

#505ACC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.174 H 274.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#505ACC
RGBrgb(80, 90, 204)
HSLhsl(235, 55%, 56%)
HSVhsv(235, 61%, 80%)
CMYKcmyk(60.8%, 55.9%, 0%, 20%)
CIE-LABlab(43.32, 30.68, -60.54)
CIE-LCHlch(43.32, 67.87, 296.87°)
OKLaboklab(52.35% 0.0148 -0.1738)
OKLCHoklch(52.35% 0.174 274.9)
XYZxyz(17.8599, 13.3760, 58.7557)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ACC #CCC250
analogous
#5098CC #505ACC #8450CC
triadic
#505ACC #CC505A #5ACC50
tetradic
#505ACC #CC5098 #CCC250 #50CC84
square
#505ACC #CC5098 #CCC250 #50CC84
split-complementary
#505ACC #CC8450 #98CC50
monochromatic
#242C7D #323CAD #505ACC #7F87DA #AFB3E8

Accessibility & contrast

On white

5.71
#505ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#505ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ACC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ACC#FFFFFF#000000##FFFFFF
##505ACC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #505acc;
/* rgb */ color: rgb(80, 90, 204);
/* oklch */ color: oklch(52.3% 0.174 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d88dc',
    500: '#505acc',
    950: '#000000',
  },
}
SCSS
$custom: #505acc;
$custom-light: #8d88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#505acc",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 235.161,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.17447,
    "h": 274.9
  },
  "luminance": 0.13377
}

Semantic roles & 50–950 ramp

primary
#505ACC
secondary
#D6D2A2
accent
#D24ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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