#505BB3#505BB3

#505BB3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.138 H 275.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#505BB3
RGBrgb(80, 91, 179)
HSLhsl(233, 39%, 51%)
HSVhsv(233, 55%, 70%)
CMYKcmyk(55.3%, 49.2%, 0%, 29.8%)
CIE-LABlab(41.91, 21.69, -48.29)
CIE-LCHlch(41.91, 52.94, 294.19°)
OKLaboklab(50.75% 0.0121 -0.1378)
OKLCHoklch(50.75% 0.138 275)
XYZxyz(15.1834, 12.4413, 44.2404)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BB3 #B3A850
analogous
#508CB3 #505BB3 #7650B3
triadic
#505BB3 #B3505B #5BB350
tetradic
#505BB3 #B3508C #B3A850 #50B376
square
#505BB3 #B3508C #B3A850 #50B376
split-complementary
#505BB3 #B37650 #8CB350
monochromatic
#292F5F #3C458A #505BB3 #7B83C6 #A5ABD8

Accessibility & contrast

On white

6.02
#505BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#505BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BB3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BB3#FFFFFF#000000##FFFFFF
##505BB31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#235FB1
Tritanopia (blue-blind)
#1D6F7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #505bb3;
/* rgb */ color: rgb(80, 91, 179);
/* oklch */ color: oklch(50.8% 0.138 275.0);
Tailwind
colors: {
  custom: {
    50: '#8989ca',
    500: '#505bb3',
    950: '#000000',
  },
}
SCSS
$custom: #505bb3;
$custom-light: #8989ca;
$custom-dark: #000000;
JSON
{
  "hex": "#505bb3",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 233.333,
    "s": 39.442,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.13831,
    "h": 275
  },
  "luminance": 0.12442
}

Semantic roles & 50–950 ramp

primary
#505BB3
secondary
#C5C099
accent
#C258CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #505BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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