#505FBF#505FBF

#505FBF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.150 H 273.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#505FBF
RGBrgb(80, 95, 191)
HSLhsl(232, 46%, 53%)
HSVhsv(232, 58%, 75%)
CMYKcmyk(58.1%, 50.3%, 0%, 25.1%)
CIE-LABlab(43.73, 23.17, -52.37)
CIE-LCHlch(43.73, 57.27, 293.86°)
OKLaboklab(52.37% 0.009 -0.1497)
OKLCHoklch(52.37% 0.15 273.4)
XYZxyz(16.8014, 13.6502, 51.0295)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505FBF #BFB050
analogous
#5096BF #505FBF #7850BF
triadic
#505FBF #BF505F #5FBF50
tetradic
#505FBF #BF5096 #BFB050 #50BF78
square
#505FBF #BF5096 #BFB050 #50BF78
split-complementary
#505FBF #BF7850 #96BF50
monochromatic
#28316D #38459A #505FBF #7D88CF #AAB1E0

Accessibility & contrast

On white

5.63
#505FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#505FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505FBF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505FBF#FFFFFF#000000##FFFFFF
##505FBF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505fbf;
/* rgb */ color: rgb(80, 95, 191);
/* oklch */ color: oklch(52.4% 0.150 273.4);
Tailwind
colors: {
  custom: {
    50: '#8a8cd3',
    500: '#505fbf',
    950: '#000000',
  },
}
SCSS
$custom: #505fbf;
$custom-light: #8a8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#505fbf",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 231.892,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52371,
    "c": 0.15002,
    "h": 273.4
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#505FBF
secondary
#CDC79D
accent
#C452D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #505FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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