#5B68E7#5B68E7

#5B68E7 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.6% C 0.190 H 274.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5B68E7
RGBrgb(91, 104, 231)
HSLhsl(234, 74%, 63%)
HSVhsv(234, 61%, 91%)
CMYKcmyk(60.6%, 55%, 0%, 9.4%)
CIE-LABlab(49.37, 32.89, -66.10)
CIE-LCHlch(49.37, 73.83, 296.45°)
OKLaboklab(57.64% 0.0145 -0.1898)
OKLCHoklch(57.64% 0.19 274.4)
XYZxyz(23.6838, 17.8924, 77.7913)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68E7 #E7DA5B
analogous
#5BAEE7 #5B68E7 #945BE7
triadic
#5B68E7 #E75B68 #68E75B
tetradic
#5B68E7 #E75BAE #E7DA5B #5BE794
square
#5B68E7 #E75BAE #E7DA5B #5BE794
split-complementary
#5B68E7 #E7945B #AEE75B
monochromatic
#1927AE #2637DF #5B68E7 #9099EF #C6CAF7

Accessibility & contrast

On white

4.59
#5B68E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5B68E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68E7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68E7#FFFFFF#000000##FFFFFF
##5B68E71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#00869D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b68e7;
/* rgb */ color: rgb(91, 104, 231);
/* oklch */ color: oklch(57.6% 0.190 274.4);
Tailwind
colors: {
  custom: {
    50: '#9693ef',
    500: '#5b68e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b68e7;
$custom-light: #9693ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68e7",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 234.429,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.19031,
    "h": 274.4
  },
  "luminance": 0.17894
}

Semantic roles & 50–950 ramp

primary
#5B68E7
secondary
#E8E3B6
accent
#C40FD7
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B68E7

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

Preview Lab → · Contrast checker → · Palette generator →

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