#505FC8#505FC8

#505FC8 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.163 H 273.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#505FC8
RGBrgb(80, 95, 200)
HSLhsl(233, 52%, 55%)
HSVhsv(233, 60%, 78%)
CMYKcmyk(60%, 52.5%, 0%, 21.6%)
CIE-LABlab(44.32, 26.20, -56.63)
CIE-LCHlch(44.32, 62.40, 294.82°)
OKLaboklab(53.01% 0.0097 -0.1623)
OKLCHoklch(53.01% 0.163 273.4)
XYZxyz(17.8224, 14.0586, 56.4068)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FC8 #C8B950
analogous
#509BC8 #505FC8 #7D50C8
triadic
#505FC8 #C8505F #5FC850
tetradic
#505FC8 #C8509B #C8B950 #50C87D
square
#505FC8 #C8509B #C8B950 #50C87D
split-complementary
#505FC8 #C87D50 #9BC850
monochromatic
#263078 #3443A6 #505FC8 #7F8AD7 #ADB4E5

Accessibility & contrast

On white

5.51
#505FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#505FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FC8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FC8#FFFFFF#000000##FFFFFF
##505FC81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206ECC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505fc8;
/* rgb */ color: rgb(80, 95, 200);
/* oklch */ color: oklch(53.0% 0.163 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c8cd9',
    500: '#505fc8',
    950: '#000000',
  },
}
SCSS
$custom: #505fc8;
$custom-light: #8c8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#505fc8",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 232.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.16257,
    "h": 273.4
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#505FC8
secondary
#D3CDA1
accent
#CA4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #505FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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