#505ACD#505ACD

#505ACD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.4% C 0.176 H 274.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#505ACD
RGBrgb(80, 90, 205)
HSLhsl(235, 56%, 56%)
HSVhsv(235, 61%, 80%)
CMYKcmyk(61%, 56.1%, 0%, 19.6%)
CIE-LABlab(43.40, 31.01, -61.00)
CIE-LCHlch(43.40, 68.43, 296.95°)
OKLaboklab(52.42% 0.0148 -0.1752)
OKLCHoklch(52.42% 0.176 274.8)
XYZxyz(17.9803, 13.4241, 59.3894)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ACD #CDC350
analogous
#5098CD #505ACD #8450CD
triadic
#505ACD #CD505A #5ACD50
tetradic
#505ACD #CD5098 #CDC350 #50CD84
square
#505ACD #CD5098 #CDC350 #50CD84
split-complementary
#505ACD #CD8450 #98CD50
monochromatic
#242B7E #323CAE #505ACD #8087DB #AFB4E8

Accessibility & contrast

On white

5.70
#505ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #505ACD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ACD#FFFFFF#000000##FFFFFF
##505ACD1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505acd;
/* rgb */ color: rgb(80, 90, 205);
/* oklch */ color: oklch(52.4% 0.176 274.8);
Tailwind
colors: {
  custom: {
    50: '#8d88dd',
    500: '#505acd',
    950: '#000000',
  },
}
SCSS
$custom: #505acd;
$custom-light: #8d88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#505acd",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 235.2,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.17581,
    "h": 274.8
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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