#5B68C7#5B68C7

#5B68C7 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.4% C 0.147 H 274.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5B68C7
RGBrgb(91, 104, 199)
HSLhsl(233, 49%, 57%)
HSVhsv(233, 54%, 78%)
CMYKcmyk(54.3%, 47.7%, 0%, 22%)
CIE-LABlab(47.30, 22.42, -51.23)
CIE-LCHlch(47.30, 55.92, 293.63°)
OKLaboklab(55.42% 0.0121 -0.146)
OKLCHoklch(55.42% 0.147 274.7)
XYZxyz(19.5702, 16.2470, 56.1265)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68C7 #C7BA5B
analogous
#5B9EC7 #5B68C7 #845BC7
triadic
#5B68C7 #C75B68 #68C75B
tetradic
#5B68C7 #C75B9E #C7BA5B #5BC784
square
#5B68C7 #C75B9E #C7BA5B #5BC784
split-complementary
#5B68C7 #C7845B #9EC75B
monochromatic
#2B357D #3A48AB #5B68C7 #8992D7 #B6BCE6

Accessibility & contrast

On white

4.94
#5B68C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5B68C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68C7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68C7#FFFFFF#000000##FFFFFF
##5B68C71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CA
Deuteranopia (green-blind)
#2E6CC5
Tritanopia (blue-blind)
#257D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b68c7;
/* rgb */ color: rgb(91, 104, 199);
/* oklch */ color: oklch(55.4% 0.147 274.7);
Tailwind
colors: {
  custom: {
    50: '#9192d8',
    500: '#5b68c7',
    950: '#000000',
  },
}
SCSS
$custom: #5b68c7;
$custom-light: #9192d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68c7",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 199
  },
  "hsl": {
    "h": 232.778,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55419,
    "c": 0.14653,
    "h": 274.7
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#5B68C7
secondary
#D5D0A9
accent
#C84FD9
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5B68C7

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

Preview Lab → · Contrast checker → · Palette generator →

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