#505FAE#505FAE

#505FAE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.126 H 273.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#505FAE
RGBrgb(80, 95, 174)
HSLhsl(230, 37%, 50%)
HSVhsv(230, 54%, 68%)
CMYKcmyk(54%, 45.4%, 0%, 31.8%)
CIE-LABlab(42.68, 17.50, -44.12)
CIE-LCHlch(42.68, 47.46, 291.63°)
OKLaboklab(51.24% 0.0068 -0.1255)
OKLCHoklch(51.24% 0.126 273.1)
XYZxyz(15.0380, 12.9449, 41.7424)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FAE #AE9F50
analogous
#508EAE #505FAE #7050AE
triadic
#505FAE #AE505F #5FAE50
tetradic
#505FAE #AE508E #AE9F50 #50AE70
square
#505FAE #AE508E #AE9F50 #50AE70
split-complementary
#505FAE #AE7050 #8EAE50
monochromatic
#29315A #3D4884 #505FAE #7A85C2 #A3ABD5

Accessibility & contrast

On white

5.85
#505FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#505FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FAE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FAE#FFFFFF#000000##FFFFFF
##505FAE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#22707E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #505fae;
/* rgb */ color: rgb(80, 95, 174);
/* oklch */ color: oklch(51.2% 0.126 273.1);
Tailwind
colors: {
  custom: {
    50: '#888cc6',
    500: '#505fae',
    950: '#000000',
  },
}
SCSS
$custom: #505fae;
$custom-light: #888cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#505fae",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 230.426,
    "s": 37.008,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.12567,
    "h": 273.1
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#505FAE
secondary
#C2BB98
accent
#BB5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #505FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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