#5B68E5#5B68E5

#5B68E5 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.5% C 0.188 H 274.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5B68E5
RGBrgb(91, 104, 229)
HSLhsl(234, 73%, 63%)
HSVhsv(234, 60%, 90%)
CMYKcmyk(60.3%, 54.6%, 0%, 10.2%)
CIE-LABlab(49.23, 32.23, -65.19)
CIE-LCHlch(49.23, 72.72, 296.31°)
OKLaboklab(57.49% 0.0144 -0.1871)
OKLCHoklch(57.49% 0.188 274.4)
XYZxyz(23.4029, 17.7801, 76.3122)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68E5 #E5D85B
analogous
#5BADE5 #5B68E5 #935BE5
triadic
#5B68E5 #E55B68 #68E55B
tetradic
#5B68E5 #E55BAD #E5D85B #5BE593
square
#5B68E5 #E55BAD #E5D85B #5BE593
split-complementary
#5B68E5 #E5935B #ADE55B
monochromatic
#1B29AB #2637DD #5B68E5 #9099ED #C5C9F6

Accessibility & contrast

On white

4.61
#5B68E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5B68E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68E5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68E5#FFFFFF#000000##FFFFFF
##5B68E51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#047BE9
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b68e5;
/* rgb */ color: rgb(91, 104, 229);
/* oklch */ color: oklch(57.5% 0.188 274.4);
Tailwind
colors: {
  custom: {
    50: '#9693ee',
    500: '#5b68e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b68e5;
$custom-light: #9693ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68e5",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 234.348,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57491,
    "c": 0.18765,
    "h": 274.4
  },
  "luminance": 0.17782
}

Semantic roles & 50–950 ramp

primary
#5B68E5
secondary
#E7E2B5
accent
#C211D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B68E5

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

Preview Lab → · Contrast checker → · Palette generator →

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