#505EBF#505EBF

#505EBF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.151 H 273.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#505EBF
RGBrgb(80, 94, 191)
HSLhsl(232, 46%, 53%)
HSVhsv(232, 58%, 75%)
CMYKcmyk(58.1%, 50.8%, 0%, 25.1%)
CIE-LABlab(43.46, 23.80, -52.80)
CIE-LCHlch(43.46, 57.91, 294.26°)
OKLaboklab(52.17% 0.01 -0.151)
OKLCHoklch(52.17% 0.151 273.8)
XYZxyz(16.7119, 13.4712, 50.9997)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EBF #BFB150
analogous
#5096BF #505EBF #7950BF
triadic
#505EBF #BF505E #5EBF50
tetradic
#505EBF #BF5096 #BFB150 #50BF79
square
#505EBF #BF5096 #BFB150 #50BF79
split-complementary
#505EBF #BF7950 #96BF50
monochromatic
#28306D #38449A #505EBF #7D87CF #AAB0E0

Accessibility & contrast

On white

5.68
#505EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#505EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EBF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EBF#FFFFFF#000000##FFFFFF
##505EBF1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC2
Deuteranopia (green-blind)
#1462BD
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #505ebf;
/* rgb */ color: rgb(80, 94, 191);
/* oklch */ color: oklch(52.2% 0.151 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a8bd3',
    500: '#505ebf',
    950: '#000000',
  },
}
SCSS
$custom: #505ebf;
$custom-light: #8a8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#505ebf",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 232.432,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.15133,
    "h": 273.8
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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