#5B68E1#5B68E1

#5B68E1 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.2% C 0.182 H 274.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5B68E1
RGBrgb(91, 104, 225)
HSLhsl(234, 69%, 62%)
HSVhsv(234, 60%, 88%)
CMYKcmyk(59.6%, 53.8%, 0%, 11.8%)
CIE-LABlab(48.96, 30.92, -63.37)
CIE-LCHlch(48.96, 70.51, 296.00°)
OKLaboklab(57.2% 0.0142 -0.1817)
OKLCHoklch(57.2% 0.182 274.5)
XYZxyz(22.8509, 17.5592, 73.4047)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68E1 #E1D45B
analogous
#5BABE1 #5B68E1 #915BE1
triadic
#5B68E1 #E15B68 #68E15B
tetradic
#5B68E1 #E15BAB #E1D45B #5BE191
square
#5B68E1 #E15BAB #E1D45B #5BE191
split-complementary
#5B68E1 #E1915B #ABE15B
monochromatic
#1E2BA4 #2738D7 #5B68E1 #8F98EA #C2C7F4

Accessibility & contrast

On white

4.65
#5B68E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5B68E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68E1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68E1#FFFFFF#000000##FFFFFF
##5B68E11.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#157AE5
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b68e1;
/* rgb */ color: rgb(91, 104, 225);
/* oklch */ color: oklch(57.2% 0.182 274.5);
Tailwind
colors: {
  custom: {
    50: '#9593eb',
    500: '#5b68e1',
    950: '#000000',
  },
}
SCSS
$custom: #5b68e1;
$custom-light: #9593eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68e1",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 225
  },
  "hsl": {
    "h": 234.179,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.18231,
    "h": 274.5
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#5B68E1
secondary
#E5E0B3
accent
#BF14D1
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B68E1

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

Preview Lab → · Contrast checker → · Palette generator →

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