#505FBD#505FBD

#505FBD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.2% C 0.147 H 273.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#505FBD
RGBrgb(80, 95, 189)
HSLhsl(232, 45%, 53%)
HSVhsv(232, 58%, 74%)
CMYKcmyk(57.7%, 49.7%, 0%, 25.9%)
CIE-LABlab(43.60, 22.50, -51.42)
CIE-LCHlch(43.60, 56.12, 293.63°)
OKLaboklab(52.23% 0.0088 -0.1469)
OKLCHoklch(52.23% 0.147 273.4)
XYZxyz(16.5828, 13.5628, 49.8783)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FBD #BDAE50
analogous
#5095BD #505FBD #7750BD
triadic
#505FBD #BD505F #5FBD50
tetradic
#505FBD #BD5095 #BDAE50 #50BD77
square
#505FBD #BD5095 #BDAE50 #50BD77
split-complementary
#505FBD #BD7750 #95BD50
monochromatic
#28316A #394697 #505FBD #7C88CE #A9B0DF

Accessibility & contrast

On white

5.66
#505FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#505FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FBD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FBD#FFFFFF#000000##FFFFFF
##505FBD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC0
Deuteranopia (green-blind)
#1C63BB
Tritanopia (blue-blind)
#037485
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505fbd;
/* rgb */ color: rgb(80, 95, 189);
/* oklch */ color: oklch(52.2% 0.147 273.4);
Tailwind
colors: {
  custom: {
    50: '#8a8cd1',
    500: '#505fbd',
    950: '#000000',
  },
}
SCSS
$custom: #505fbd;
$custom-light: #8a8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#505fbd",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 231.743,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.1472,
    "h": 273.4
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#505FBD
secondary
#CCC69D
accent
#C353D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #505FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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