#505ACF#505ACF

#505ACF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.179 H 274.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#505ACF
RGBrgb(80, 90, 207)
HSLhsl(235, 57%, 56%)
HSVhsv(235, 61%, 81%)
CMYKcmyk(61.4%, 56.5%, 0%, 18.8%)
CIE-LABlab(43.54, 31.68, -61.92)
CIE-LCHlch(43.54, 69.56, 297.10°)
OKLaboklab(52.58% 0.0148 -0.1779)
OKLCHoklch(52.58% 0.179 274.8)
XYZxyz(18.2232, 13.5213, 60.6689)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ACF #CFC550
analogous
#509ACF #505ACF #8650CF
triadic
#505ACF #CF505A #5ACF50
tetradic
#505ACF #CF509A #CFC550 #50CF86
square
#505ACF #CF509A #CFC550 #50CF86
split-complementary
#505ACF #CF8650 #9ACF50
monochromatic
#232B81 #313BB1 #505ACF #8087DC #B0B5E9

Accessibility & contrast

On white

5.67
#505ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#505ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ACF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ACF#FFFFFF#000000##FFFFFF
##505ACF1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505acf;
/* rgb */ color: rgb(80, 90, 207);
/* oklch */ color: oklch(52.6% 0.179 274.8);
Tailwind
colors: {
  custom: {
    50: '#8d88de',
    500: '#505acf',
    950: '#000000',
  },
}
SCSS
$custom: #505acf;
$custom-light: #8d88de;
$custom-dark: #000000;
JSON
{
  "hex": "#505acf",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 235.276,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52576,
    "c": 0.17851,
    "h": 274.8
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#505ACF
secondary
#D8D3A3
accent
#D448E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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