#5D50CF#5D50CF

#5D50CF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.189 H 282.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5D50CF
RGBrgb(93, 80, 207)
HSLhsl(246, 57%, 56%)
HSVhsv(246, 61%, 81%)
CMYKcmyk(55.1%, 61.4%, 0%, 18.8%)
CIE-LABlab(42.11, 40.05, -64.21)
CIE-LCHlch(42.11, 75.67, 301.95°)
OKLaboklab(51.76% 0.0398 -0.1843)
OKLCHoklch(51.76% 0.189 282.2)
XYZxyz(18.6419, 12.5683, 60.4630)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50CF #C2CF50
analogous
#5083CF #5D50CF #9D50CF
triadic
#5D50CF #CF5D50 #50CF5D
tetradic
#5D50CF #CF5083 #C2CF50 #50CF9D
square
#5D50CF #CF5083 #C2CF50 #50CF9D
split-complementary
#5D50CF #CF9D50 #83CF50
monochromatic
#2D2381 #3E31B1 #5D50CF #8980DC #B6B0E9

Accessibility & contrast

On white

5.98
#5D50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5D50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50CF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50CF#FFFFFF#000000##FFFFFF
##5D50CF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#266F88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d50cf;
/* rgb */ color: rgb(93, 80, 207);
/* oklch */ color: oklch(51.8% 0.189 282.2);
Tailwind
colors: {
  custom: {
    50: '#9582df',
    500: '#5d50cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d50cf;
$custom-light: #9582df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50cf",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 246.142,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51757,
    "c": 0.18858,
    "h": 282.2
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#5D50CF
secondary
#D2D8A3
accent
#E048D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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