#505DBF#505DBF

#505DBF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.153 H 274.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#505DBF
RGBrgb(80, 93, 191)
HSLhsl(233, 46%, 53%)
HSVhsv(233, 58%, 75%)
CMYKcmyk(58.1%, 51.3%, 0%, 25.1%)
CIE-LABlab(43.20, 24.43, -53.22)
CIE-LCHlch(43.20, 58.56, 294.66°)
OKLaboklab(51.98% 0.0111 -0.1522)
OKLCHoklch(51.98% 0.153 274.2)
XYZxyz(16.6235, 13.2945, 50.9702)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DBF #BFB250
analogous
#5094BF #505DBF #7A50BF
triadic
#505DBF #BF505D #5DBF50
tetradic
#505DBF #BF5094 #BFB250 #50BF7A
square
#505DBF #BF5094 #BFB250 #50BF7A
split-complementary
#505DBF #BF7A50 #94BF50
monochromatic
#28306D #38449A #505DBF #7D86CF #AAB0E0

Accessibility & contrast

On white

5.74
#505DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#505DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DBF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DBF#FFFFFF#000000##FFFFFF
##505DBF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC2
Deuteranopia (green-blind)
#0F61BD
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #505dbf;
/* rgb */ color: rgb(80, 93, 191);
/* oklch */ color: oklch(52.0% 0.153 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a8ad3',
    500: '#505dbf',
    950: '#000000',
  },
}
SCSS
$custom: #505dbf;
$custom-light: #8a8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#505dbf",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 232.973,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.15265,
    "h": 274.2
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

primary
#505DBF
secondary
#CDC89D
accent
#C752D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #505DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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