#505DBC#505DBC

#505DBC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.148 H 274.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#505DBC
RGBrgb(80, 93, 188)
HSLhsl(233, 45%, 53%)
HSVhsv(233, 57%, 74%)
CMYKcmyk(57.4%, 50.5%, 0%, 26.3%)
CIE-LABlab(43.01, 23.42, -51.78)
CIE-LCHlch(43.01, 56.84, 294.34°)
OKLaboklab(51.77% 0.0108 -0.148)
OKLCHoklch(51.77% 0.148 274.2)
XYZxyz(16.2968, 13.1638, 49.2493)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DBC #BCAF50
analogous
#5093BC #505DBC #7950BC
triadic
#505DBC #BC505D #5DBC50
tetradic
#505DBC #BC5093 #BCAF50 #50BC79
square
#505DBC #BC5093 #BCAF50 #50BC79
split-complementary
#505DBC #BC7950 #93BC50
monochromatic
#283069 #394496 #505DBC #7C86CD #A9AFDE

Accessibility & contrast

On white

5.78
#505DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#505DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DBC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DBC#FFFFFF#000000##FFFFFF
##505DBC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#1861BA
Tritanopia (blue-blind)
#087284
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #505dbc;
/* rgb */ color: rgb(80, 93, 188);
/* oklch */ color: oklch(51.8% 0.148 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a8ad1',
    500: '#505dbc',
    950: '#000000',
  },
}
SCSS
$custom: #505dbc;
$custom-light: #8a8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#505dbc",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 232.778,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.14843,
    "h": 274.2
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#505DBC
secondary
#CBC69C
accent
#C553D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #505DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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