#505BBF#505BBF

#505BBF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.155 H 274.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#505BBF
RGBrgb(80, 91, 191)
HSLhsl(234, 46%, 53%)
HSVhsv(234, 58%, 75%)
CMYKcmyk(58.1%, 52.4%, 0%, 25.1%)
CIE-LABlab(42.68, 25.69, -54.05)
CIE-LCHlch(42.68, 59.85, 295.42°)
OKLaboklab(51.59% 0.0131 -0.1547)
OKLCHoklch(51.59% 0.155 274.9)
XYZxyz(16.4503, 12.9480, 50.9125)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505BBF #BFB450
analogous
#5092BF #505BBF #7C50BF
triadic
#505BBF #BF505B #5BBF50
tetradic
#505BBF #BF5092 #BFB450 #50BF7C
square
#505BBF #BF5092 #BFB450 #50BF7C
split-complementary
#505BBF #BF7C50 #92BF50
monochromatic
#282F6D #38429A #505BBF #7D85CF #AAAFE0

Accessibility & contrast

On white

5.85
#505BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#505BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505BBF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505BBF#FFFFFF#000000##FFFFFF
##505BBF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #505bbf;
/* rgb */ color: rgb(80, 91, 191);
/* oklch */ color: oklch(51.6% 0.155 274.9);
Tailwind
colors: {
  custom: {
    50: '#8b89d3',
    500: '#505bbf',
    950: '#000000',
  },
}
SCSS
$custom: #505bbf;
$custom-light: #8b89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#505bbf",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 234.054,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.15529,
    "h": 274.9
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#505BBF
secondary
#CDC99D
accent
#C952D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #505BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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