#505CBE#505CBE

#505CBE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.153 H 274.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#505CBE
RGBrgb(80, 92, 190)
HSLhsl(233, 46%, 53%)
HSVhsv(233, 58%, 75%)
CMYKcmyk(57.9%, 51.6%, 0%, 25.5%)
CIE-LABlab(42.88, 24.73, -53.16)
CIE-LCHlch(42.88, 58.63, 294.94°)
OKLaboklab(51.71% 0.012 -0.1521)
OKLCHoklch(51.71% 0.153 274.5)
XYZxyz(16.4267, 13.0763, 50.3636)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CBE #BEB250
analogous
#5093BE #505CBE #7B50BE
triadic
#505CBE #BE505C #5CBE50
tetradic
#505CBE #BE5093 #BEB250 #50BE7B
square
#505CBE #BE5093 #BEB250 #50BE7B
split-complementary
#505CBE #BE7B50 #93BE50
monochromatic
#282F6C #394398 #505CBE #7D86CF #A9AFDF

Accessibility & contrast

On white

5.81
#505CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#505CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CBE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CBE#FFFFFF#000000##FFFFFF
##505CBE1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#0D61BC
Tritanopia (blue-blind)
#017284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #505cbe;
/* rgb */ color: rgb(80, 92, 190);
/* oklch */ color: oklch(51.7% 0.153 274.5);
Tailwind
colors: {
  custom: {
    50: '#8a8ad2',
    500: '#505cbe',
    950: '#000000',
  },
}
SCSS
$custom: #505cbe;
$custom-light: #8a8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#505cbe",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 233.455,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.15256,
    "h": 274.5
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#505CBE
secondary
#CDC79D
accent
#C752D5
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #505CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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