#5B68E4#5B68E4

#5B68E4 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.4% C 0.186 H 274.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5B68E4
RGBrgb(91, 104, 228)
HSLhsl(234, 72%, 63%)
HSVhsv(234, 60%, 89%)
CMYKcmyk(60.1%, 54.4%, 0%, 10.6%)
CIE-LABlab(49.16, 31.90, -64.74)
CIE-LCHlch(49.16, 72.17, 296.23°)
OKLaboklab(57.42% 0.0144 -0.1858)
OKLCHoklch(57.42% 0.186 274.4)
XYZxyz(23.2637, 17.7244, 75.5790)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68E4 #E4D75B
analogous
#5BACE4 #5B68E4 #935BE4
triadic
#5B68E4 #E45B68 #68E45B
tetradic
#5B68E4 #E45BAC #E4D75B #5BE493
square
#5B68E4 #E45BAC #E4D75B #5BE493
split-complementary
#5B68E4 #E4935B #ACE45B
monochromatic
#1C29A9 #2638DB #5B68E4 #9098ED #C4C9F5

Accessibility & contrast

On white

4.62
#5B68E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5B68E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68E4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68E4#FFFFFF#000000##FFFFFF
##5B68E41.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#097BE8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b68e4;
/* rgb */ color: rgb(91, 104, 228);
/* oklch */ color: oklch(57.4% 0.186 274.4);
Tailwind
colors: {
  custom: {
    50: '#9693ed',
    500: '#5b68e4',
    950: '#000000',
  },
}
SCSS
$custom: #5b68e4;
$custom-light: #9693ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68e4",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 234.307,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.18631,
    "h": 274.4
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#5B68E4
secondary
#E6E2B4
accent
#C112D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B68E4

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

Preview Lab → · Contrast checker → · Palette generator →

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