#505ECF#505ECF

#505ECF is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.173 H 273.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#505ECF
RGBrgb(80, 94, 207)
HSLhsl(233, 57%, 56%)
HSVhsv(233, 61%, 81%)
CMYKcmyk(61.4%, 54.6%, 0%, 18.8%)
CIE-LABlab(44.54, 29.19, -60.30)
CIE-LCHlch(44.54, 66.99, 295.83°)
OKLaboklab(53.32% 0.0111 -0.1731)
OKLCHoklch(53.32% 0.173 273.7)
XYZxyz(18.5697, 14.2144, 60.7845)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505ECF #CFC150
analogous
#509ECF #505ECF #8250CF
triadic
#505ECF #CF505E #5ECF50
tetradic
#505ECF #CF509E #CFC150 #50CF82
square
#505ECF #CF509E #CFC150 #50CF82
split-complementary
#505ECF #CF8250 #9ECF50
monochromatic
#232E81 #313FB1 #505ECF #808ADC #B0B6E9

Accessibility & contrast

On white

5.46
#505ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#505ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505ECF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505ECF#FFFFFF#000000##FFFFFF
##505ECF1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076FD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505ecf;
/* rgb */ color: rgb(80, 94, 207);
/* oklch */ color: oklch(53.3% 0.173 273.7);
Tailwind
colors: {
  custom: {
    50: '#8d8bde',
    500: '#505ecf',
    950: '#000000',
  },
}
SCSS
$custom: #505ecf;
$custom-light: #8d8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#505ecf",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 233.386,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.17344,
    "h": 273.7
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#505ECF
secondary
#D8D2A3
accent
#CF48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #505ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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