#5B68E8#5B68E8

#5B68E8 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.7% C 0.192 H 274.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5B68E8
RGBrgb(91, 104, 232)
HSLhsl(234, 75%, 63%)
HSVhsv(234, 61%, 91%)
CMYKcmyk(60.8%, 55.2%, 0%, 9%)
CIE-LABlab(49.43, 33.22, -66.55)
CIE-LCHlch(49.43, 74.38, 296.53°)
OKLaboklab(57.71% 0.0145 -0.1911)
OKLCHoklch(57.71% 0.192 274.3)
XYZxyz(23.8254, 17.9491, 78.5373)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68E8 #E8DB5B
analogous
#5BAEE8 #5B68E8 #945BE8
triadic
#5B68E8 #E85B68 #68E85B
tetradic
#5B68E8 #E85BAE #E8DB5B #5BE894
square
#5B68E8 #E85BAE #E8DB5B #5BE894
split-complementary
#5B68E8 #E8945B #AEE85B
monochromatic
#1927B0 #2537E0 #5B68E8 #9199F0 #C6CBF7

Accessibility & contrast

On white

4.57
#5B68E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5B68E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B68E8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68E8#FFFFFF#000000##000000
##5B68E81.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#00869E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b68e8;
/* rgb */ color: rgb(91, 104, 232);
/* oklch */ color: oklch(57.7% 0.192 274.3);
Tailwind
colors: {
  custom: {
    50: '#9693f0',
    500: '#5b68e8',
    950: '#000000',
  },
}
SCSS
$custom: #5b68e8;
$custom-light: #9693f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68e8",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 234.468,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.19163,
    "h": 274.3
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#5B68E8
secondary
#E9E4B6
accent
#C50ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B68E8

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

Preview Lab → · Contrast checker → · Palette generator →

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