#505ACB#505ACB

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

Color values

HEX#505ACB
RGBrgb(80, 90, 203)
HSLhsl(235, 54%, 55%)
HSVhsv(235, 61%, 80%)
CMYKcmyk(60.6%, 55.7%, 0%, 20.4%)
CIE-LABlab(43.25, 30.34, -60.08)
CIE-LCHlch(43.25, 67.31, 296.79°)
OKLaboklab(52.27% 0.0147 -0.1725)
OKLCHoklch(52.27% 0.173 274.9)
XYZxyz(17.7404, 13.3282, 58.1261)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ACB #CBC150
analogous
#5097CB #505ACB #8350CB
triadic
#505ACB #CB505A #5ACB50
tetradic
#505ACB #CB5097 #CBC150 #50CB83
square
#505ACB #CB5097 #CBC150 #50CB83
split-complementary
#505ACB #CB8350 #97CB50
monochromatic
#252C7C #333DAB #505ACB #7F86D9 #AEB3E7

Accessibility & contrast

On white

5.73
#505ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#505ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ACB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ACB#FFFFFF#000000##FFFFFF
##505ACB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #505acb;
/* rgb */ color: rgb(80, 90, 203);
/* oklch */ color: oklch(52.3% 0.173 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d88dc',
    500: '#505acb',
    950: '#000000',
  },
}
SCSS
$custom: #505acb;
$custom-light: #8d88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#505acb",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 235.122,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.17311,
    "h": 274.9
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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