#5B68DB#5B68DB

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

Color values

HEX#5B68DB
RGBrgb(91, 104, 219)
HSLhsl(234, 64%, 61%)
HSVhsv(234, 58%, 86%)
CMYKcmyk(58.4%, 52.5%, 0%, 14.1%)
CIE-LABlab(48.56, 28.94, -60.62)
CIE-LCHlch(48.56, 67.18, 295.52°)
OKLaboklab(56.78% 0.0139 -0.1736)
OKLCHoklch(56.78% 0.174 274.6)
XYZxyz(22.0467, 17.2376, 69.1695)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68DB #DBCE5B
analogous
#5BA8DB #5B68DB #8E5BDB
triadic
#5B68DB #DB5B68 #68DB5B
tetradic
#5B68DB #DB5BA8 #DBCE5B #5BDB8E
square
#5B68DB #DB5BA8 #DBCE5B #5BDB8E
split-complementary
#5B68DB #DB8E5B #A8DB5B
monochromatic
#222E9A #2D3DCC #5B68DB #8D96E6 #BFC4F1

Accessibility & contrast

On white

4.72
#5B68DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5B68DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68DB#FFFFFF#000000##FFFFFF
##5B68DB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2379DF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b68db;
/* rgb */ color: rgb(91, 104, 219);
/* oklch */ color: oklch(56.8% 0.174 274.6);
Tailwind
colors: {
  custom: {
    50: '#9493e7',
    500: '#5b68db',
    950: '#000000',
  },
}
SCSS
$custom: #5b68db;
$custom-light: #9493e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68db",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 233.906,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56776,
    "c": 0.17421,
    "h": 274.6
  },
  "luminance": 0.17239
}

Semantic roles & 50–950 ramp

primary
#5B68DB
secondary
#E1DCB1
accent
#BA1ACC
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B68DB

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

Preview Lab → · Contrast checker → · Palette generator →

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