#505ACE#505ACE

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

Color values

HEX#505ACE
RGBrgb(80, 90, 206)
HSLhsl(235, 56%, 56%)
HSVhsv(235, 61%, 81%)
CMYKcmyk(61.2%, 56.3%, 0%, 19.2%)
CIE-LABlab(43.47, 31.35, -61.46)
CIE-LCHlch(43.47, 69.00, 297.02°)
OKLaboklab(52.5% 0.0148 -0.1765)
OKLCHoklch(52.5% 0.177 274.8)
XYZxyz(18.1014, 13.4726, 60.0271)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ACE #CEC450
analogous
#5099CE #505ACE #8550CE
triadic
#505ACE #CE505A #5ACE50
tetradic
#505ACE #CE5099 #CEC450 #50CE85
square
#505ACE #CE5099 #CEC450 #50CE85
split-complementary
#505ACE #CE8550 #99CE50
monochromatic
#242B80 #313BB0 #505ACE #8087DB #B0B4E9

Accessibility & contrast

On white

5.68
#505ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#505ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ACE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ACE#FFFFFF#000000##FFFFFF
##505ACE1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505ace;
/* rgb */ color: rgb(80, 90, 206);
/* oklch */ color: oklch(52.5% 0.177 274.8);
Tailwind
colors: {
  custom: {
    50: '#8d88de',
    500: '#505ace',
    950: '#000000',
  },
}
SCSS
$custom: #505ace;
$custom-light: #8d88de;
$custom-dark: #000000;
JSON
{
  "hex": "#505ace",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 235.238,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.525,
    "c": 0.17716,
    "h": 274.8
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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