#5B68E3#5B68E3

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

Color values

HEX#5B68E3
RGBrgb(91, 104, 227)
HSLhsl(234, 71%, 62%)
HSVhsv(234, 60%, 89%)
CMYKcmyk(59.9%, 54.2%, 0%, 11%)
CIE-LABlab(49.09, 31.57, -64.28)
CIE-LCHlch(49.09, 71.62, 296.16°)
OKLaboklab(57.35% 0.0143 -0.1844)
OKLCHoklch(57.35% 0.185 274.4)
XYZxyz(23.1253, 17.6690, 74.8500)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68E3 #E3D65B
analogous
#5BACE3 #5B68E3 #925BE3
triadic
#5B68E3 #E35B68 #68E35B
tetradic
#5B68E3 #E35BAC #E3D65B #5BE392
square
#5B68E3 #E35BAC #E3D65B #5BE392
split-complementary
#5B68E3 #E3925B #ACE35B
monochromatic
#1D2AA7 #2738DA #5B68E3 #8F98EC #C4C8F5

Accessibility & contrast

On white

4.63
#5B68E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5B68E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68E3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68E3#FFFFFF#000000##FFFFFF
##5B68E31.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E7BE7
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#00859B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b68e3;
/* rgb */ color: rgb(91, 104, 227);
/* oklch */ color: oklch(57.3% 0.185 274.4);
Tailwind
colors: {
  custom: {
    50: '#9593ed',
    500: '#5b68e3',
    950: '#000000',
  },
}
SCSS
$custom: #5b68e3;
$custom-light: #9593ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68e3",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 227
  },
  "hsl": {
    "h": 234.265,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.18499,
    "h": 274.4
  },
  "luminance": 0.17671
}

Semantic roles & 50–950 ramp

primary
#5B68E3
secondary
#E6E1B4
accent
#C013D3
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B68E3

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

Preview Lab → · Contrast checker → · Palette generator →

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