#505DCF#505DCF

#505DCF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.175 H 273.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#505DCF
RGBrgb(80, 93, 207)
HSLhsl(234, 57%, 56%)
HSVhsv(234, 61%, 81%)
CMYKcmyk(61.4%, 55.1%, 0%, 18.8%)
CIE-LABlab(44.29, 29.81, -60.71)
CIE-LCHlch(44.29, 67.63, 296.15°)
OKLaboklab(53.14% 0.012 -0.1743)
OKLCHoklch(53.14% 0.175 273.9)
XYZxyz(18.4814, 14.0377, 60.7550)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505DCF #CFC250
analogous
#509DCF #505DCF #8350CF
triadic
#505DCF #CF505D #5DCF50
tetradic
#505DCF #CF509D #CFC250 #50CF83
square
#505DCF #CF509D #CFC250 #50CF83
split-complementary
#505DCF #CF8350 #9DCF50
monochromatic
#232D81 #313EB1 #505DCF #8089DC #B0B6E9

Accessibility & contrast

On white

5.51
#505DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#505DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505DCF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505DCF#FFFFFF#000000##FFFFFF
##505DCF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #505dcf;
/* rgb */ color: rgb(80, 93, 207);
/* oklch */ color: oklch(53.1% 0.175 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ade',
    500: '#505dcf',
    950: '#000000',
  },
}
SCSS
$custom: #505dcf;
$custom-light: #8d8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#505dcf",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 233.858,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.17471,
    "h": 273.9
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

primary
#505DCF
secondary
#D8D2A3
accent
#D148E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #505DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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