#505BC8#505BC8

#505BC8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.168 H 274.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#505BC8
RGBrgb(80, 91, 200)
HSLhsl(235, 52%, 55%)
HSVhsv(235, 60%, 78%)
CMYKcmyk(60%, 54.5%, 0%, 21.6%)
CIE-LABlab(43.30, 28.71, -58.28)
CIE-LCHlch(43.30, 64.97, 296.22°)
OKLaboklab(52.24% 0.0137 -0.1672)
OKLCHoklch(52.24% 0.168 274.7)
XYZxyz(17.4713, 13.3564, 56.2897)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BC8 #C8BD50
analogous
#5097C8 #505BC8 #8150C8
triadic
#505BC8 #C8505B #5BC850
tetradic
#505BC8 #C85097 #C8BD50 #50C881
square
#505BC8 #C85097 #C8BD50 #50C881
split-complementary
#505BC8 #C88150 #97C850
monochromatic
#262D78 #343FA6 #505BC8 #7F87D7 #ADB2E5

Accessibility & contrast

On white

5.72
#505BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#505BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BC8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BC8#FFFFFF#000000##FFFFFF
##505BC81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6CCC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #505bc8;
/* rgb */ color: rgb(80, 91, 200);
/* oklch */ color: oklch(52.2% 0.168 274.7);
Tailwind
colors: {
  custom: {
    50: '#8c89d9',
    500: '#505bc8',
    950: '#000000',
  },
}
SCSS
$custom: #505bc8;
$custom-light: #8c89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#505bc8",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 234.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52238,
    "c": 0.16774,
    "h": 274.7
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#505BC8
secondary
#D3CFA1
accent
#CE4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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