#505EBD#505EBD

#505EBD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.149 H 273.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#505EBD
RGBrgb(80, 94, 189)
HSLhsl(232, 45%, 53%)
HSVhsv(232, 58%, 74%)
CMYKcmyk(57.7%, 50.3%, 0%, 25.9%)
CIE-LABlab(43.34, 23.13, -51.84)
CIE-LCHlch(43.34, 56.77, 294.04°)
OKLaboklab(52.03% 0.0098 -0.1482)
OKLCHoklch(52.03% 0.149 273.8)
XYZxyz(16.4933, 13.3838, 49.8484)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505EBD #BDAF50
analogous
#5094BD #505EBD #7950BD
triadic
#505EBD #BD505E #5EBD50
tetradic
#505EBD #BD5094 #BDAF50 #50BD79
square
#505EBD #BD5094 #BDAF50 #50BD79
split-complementary
#505EBD #BD7950 #94BD50
monochromatic
#28316A #394597 #505EBD #7C87CE #A9B0DF

Accessibility & contrast

On white

5.71
#505EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#505EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505EBD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505EBD#FFFFFF#000000##FFFFFF
##505EBD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#1962BB
Tritanopia (blue-blind)
#047384
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #505ebd;
/* rgb */ color: rgb(80, 94, 189);
/* oklch */ color: oklch(52.0% 0.149 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a8bd1',
    500: '#505ebd',
    950: '#000000',
  },
}
SCSS
$custom: #505ebd;
$custom-light: #8a8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#505ebd",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 232.294,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.14852,
    "h": 273.8
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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