#5D6CEF#5D6CEF

#5D6CEF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.1% C 0.195 H 273.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5D6CEF
RGBrgb(93, 108, 239)
HSLhsl(234, 82%, 65%)
HSVhsv(234, 61%, 94%)
CMYKcmyk(61.1%, 54.8%, 0%, 6.3%)
CIE-LABlab(51.02, 33.42, -67.90)
CIE-LCHlch(51.02, 75.68, 296.20°)
OKLaboklab(59.08% 0.0132 -0.195)
OKLCHoklch(59.08% 0.195 273.9)
XYZxyz(25.4516, 19.2822, 84.0252)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6CEF #EFE05D
analogous
#5DB5EF #5D6CEF #975DEF
triadic
#5D6CEF #EF5D6C #6CEF5D
tetradic
#5D6CEF #EF5DB5 #EFE05D #5DEF97
square
#5D6CEF #EF5DB5 #EFE05D #5DEF97
split-complementary
#5D6CEF #EF975D #B5EF5D
monochromatic
#1325BF #2539E9 #5D6CEF #959FF5 #CCD1FA

Accessibility & contrast

On white

4.32
#5D6CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5D6CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D6CEF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6CEF#FFFFFF#000000##000000
##5D6CEF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d6cef;
/* rgb */ color: rgb(93, 108, 239);
/* oklch */ color: oklch(59.1% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#9896f5',
    500: '#5d6cef',
    950: '#000000',
  },
}
SCSS
$custom: #5d6cef;
$custom-light: #9896f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6cef",
  "rgb": {
    "r": 93,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 233.836,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.19544,
    "h": 273.9
  },
  "luminance": 0.19284
}

Semantic roles & 50–950 ramp

primary
#5D6CEF
secondary
#EDE8BB
accent
#C807DE
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D6CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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