#505ACA#505ACA

#505ACA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.172 H 274.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#505ACA
RGBrgb(80, 90, 202)
HSLhsl(235, 54%, 55%)
HSVhsv(235, 60%, 79%)
CMYKcmyk(60.4%, 55.4%, 0%, 20.8%)
CIE-LABlab(43.18, 30.01, -59.62)
CIE-LCHlch(43.18, 66.74, 296.72°)
OKLaboklab(52.2% 0.0147 -0.1711)
OKLCHoklch(52.2% 0.172 274.9)
XYZxyz(17.6216, 13.2807, 57.5005)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ACA #CAC050
analogous
#5097CA #505ACA #8350CA
triadic
#505ACA #CA505A #5ACA50
tetradic
#505ACA #CA5097 #CAC050 #50CA83
square
#505ACA #CA5097 #CAC050 #50CA83
split-complementary
#505ACA #CA8350 #97CA50
monochromatic
#252C7A #333DA9 #505ACA #7F86D8 #AEB3E6

Accessibility & contrast

On white

5.74
#505ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#505ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ACA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ACA#FFFFFF#000000##FFFFFF
##505ACA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #505aca;
/* rgb */ color: rgb(80, 90, 202);
/* oklch */ color: oklch(52.2% 0.172 274.9);
Tailwind
colors: {
  custom: {
    50: '#8c88db',
    500: '#505aca',
    950: '#000000',
  },
}
SCSS
$custom: #505aca;
$custom-light: #8c88db;
$custom-dark: #000000;
JSON
{
  "hex": "#505aca",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 235.082,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.17175,
    "h": 274.9
  },
  "luminance": 0.13282
}

Semantic roles & 50–950 ramp

primary
#505ACA
secondary
#D4D0A1
accent
#D14BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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