#5B68DC#5B68DC

#5B68DC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.8% C 0.176 H 274.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5B68DC
RGBrgb(91, 104, 220)
HSLhsl(234, 65%, 61%)
HSVhsv(234, 59%, 86%)
CMYKcmyk(58.6%, 52.7%, 0%, 13.7%)
CIE-LABlab(48.62, 29.27, -61.08)
CIE-LCHlch(48.62, 67.73, 295.61°)
OKLaboklab(56.85% 0.014 -0.175)
OKLCHoklch(56.85% 0.176 274.6)
XYZxyz(22.1788, 17.2904, 69.8649)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68DC #DCCF5B
analogous
#5BA9DC #5B68DC #8E5BDC
triadic
#5B68DC #DC5B68 #68DC5B
tetradic
#5B68DC #DC5BA9 #DCCF5B #5BDC8E
square
#5B68DC #DC5BA9 #DCCF5B #5BDC8E
split-complementary
#5B68DC #DC8E5B #A9DC5B
monochromatic
#212D9B #2C3CCE #5B68DC #8D96E7 #C0C5F2

Accessibility & contrast

On white

4.71
#5B68DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5B68DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68DC#FFFFFF#000000##FFFFFF
##5B68DC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2179E0
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b68dc;
/* rgb */ color: rgb(91, 104, 220);
/* oklch */ color: oklch(56.8% 0.176 274.6);
Tailwind
colors: {
  custom: {
    50: '#9493e8',
    500: '#5b68dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b68dc;
$custom-light: #9493e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68dc",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 233.953,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.17557,
    "h": 274.6
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#5B68DC
secondary
#E2DDB1
accent
#BB19CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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