#5B68CF#5B68CF

#5B68CF is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.9% C 0.158 H 274.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5B68CF
RGBrgb(91, 104, 207)
HSLhsl(233, 55%, 58%)
HSVhsv(233, 56%, 81%)
CMYKcmyk(56%, 49.8%, 0%, 18.8%)
CIE-LABlab(47.79, 25.02, -55.03)
CIE-LCHlch(47.79, 60.45, 294.45°)
OKLaboklab(55.95% 0.013 -0.1572)
OKLCHoklch(55.95% 0.158 274.7)
XYZxyz(20.5235, 16.6283, 61.1475)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68CF #CFC25B
analogous
#5BA2CF #5B68CF #885BCF
triadic
#5B68CF #CF5B68 #68CF5B
tetradic
#5B68CF #CF5BA2 #CFC25B #5BCF88
square
#5B68CF #CF5BA2 #CFC25B #5BCF88
split-complementary
#5B68CF #CF885B #A2CF5B
monochromatic
#283388 #3644B7 #5B68CF #8A94DD #BABFEB

Accessibility & contrast

On white

4.85
#5B68CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5B68CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68CF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68CF#FFFFFF#000000##FFFFFF
##5B68CF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3476D3
Deuteranopia (green-blind)
#216DCD
Tritanopia (blue-blind)
#187F92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b68cf;
/* rgb */ color: rgb(91, 104, 207);
/* oklch */ color: oklch(55.9% 0.158 274.7);
Tailwind
colors: {
  custom: {
    50: '#9292de',
    500: '#5b68cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b68cf;
$custom-light: #9292de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68cf",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 233.276,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.15772,
    "h": 274.7
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#5B68CF
secondary
#DAD5AC
accent
#CD4ADE
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B68CF

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

Preview Lab → · Contrast checker → · Palette generator →

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