#5B68EC#5B68EC

#5B68EC is a mid, vivid blue. Relative luminance 0.182; OKLCH L 58.0% C 0.197 H 274.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5B68EC
RGBrgb(91, 104, 236)
HSLhsl(235, 79%, 64%)
HSVhsv(235, 61%, 93%)
CMYKcmyk(61.4%, 55.9%, 0%, 7.5%)
CIE-LABlab(49.71, 34.53, -68.34)
CIE-LCHlch(49.71, 76.57, 296.81°)
OKLaboklab(58.01% 0.0146 -0.1964)
OKLCHoklch(58.01% 0.197 274.3)
XYZxyz(24.4000, 18.1789, 81.5637)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68EC #ECDF5B
analogous
#5BB1EC #5B68EC #975BEC
triadic
#5B68EC #EC5B68 #68EC5B
tetradic
#5B68EC #EC5BB1 #ECDF5B #5BEC97
square
#5B68EC #EC5BB1 #ECDF5B #5BEC97
split-complementary
#5B68EC #EC975B #B1EC5B
monochromatic
#1524B7 #2436E6 #5B68EC #929AF2 #C9CDF9

Accessibility & contrast

On white

4.53
#5B68EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5B68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B68EC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68EC#FFFFFF#000000##000000
##5B68EC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b68ec;
/* rgb */ color: rgb(91, 104, 236);
/* oklch */ color: oklch(58.0% 0.197 274.3);
Tailwind
colors: {
  custom: {
    50: '#9793f3',
    500: '#5b68ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b68ec;
$custom-light: #9793f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68ec",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 234.621,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.1969,
    "h": 274.3
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#5B68EC
secondary
#EBE6B8
accent
#C90ADC
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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