#5D50BC#5D50BC

#5D50BC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.164 H 284.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5D50BC
RGBrgb(93, 80, 188)
HSLhsl(247, 45%, 53%)
HSVhsv(247, 57%, 74%)
CMYKcmyk(50.5%, 57.4%, 0%, 26.3%)
CIE-LABlab(40.73, 34.17, -55.42)
CIE-LCHlch(40.73, 65.10, 301.66°)
OKLaboklab(50.31% 0.0405 -0.1585)
OKLCHoklch(50.31% 0.164 284.3)
XYZxyz(16.4572, 11.6945, 48.9573)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50BC #AFBC50
analogous
#5079BC #5D50BC #9350BC
triadic
#5D50BC #BC5D50 #50BC5D
tetradic
#5D50BC #BC5079 #AFBC50 #50BC93
square
#5D50BC #BC5079 #AFBC50 #50BC93
split-complementary
#5D50BC #BC9350 #79BC50
monochromatic
#302869 #443996 #5D50BC #867CCD #AFA9DE

Accessibility & contrast

On white

6.29
#5D50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50BC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50BC#FFFFFF#000000##FFFFFF
##5D50BC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#39697E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d50bc;
/* rgb */ color: rgb(93, 80, 188);
/* oklch */ color: oklch(50.3% 0.164 284.3);
Tailwind
colors: {
  custom: {
    50: '#9281d1',
    500: '#5d50bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d50bc;
$custom-light: #9281d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50bc",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 247.222,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.16355,
    "h": 284.3
  },
  "luminance": 0.11695
}

Semantic roles & 50–950 ramp

primary
#5D50BC
secondary
#C6CB9C
accent
#D453C5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5D50BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5D50BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva