#5B68D5#5B68D5

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

Color values

HEX#5B68D5
RGBrgb(91, 104, 213)
HSLhsl(234, 59%, 60%)
HSVhsv(234, 57%, 84%)
CMYKcmyk(57.3%, 51.2%, 0%, 16.5%)
CIE-LABlab(48.17, 26.98, -57.84)
CIE-LCHlch(48.17, 63.82, 295.01°)
OKLaboklab(56.36% 0.0135 -0.1655)
OKLCHoklch(56.36% 0.166 274.7)
XYZxyz(21.2710, 16.9273, 65.0843)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68D5 #D5C85B
analogous
#5BA5D5 #5B68D5 #8B5BD5
triadic
#5B68D5 #D55B68 #68D55B
tetradic
#5B68D5 #D55BA5 #D5C85B #5BD58B
square
#5B68D5 #D55BA5 #D5C85B #5BD58B
split-complementary
#5B68D5 #D58B5B #A5D55B
monochromatic
#253091 #3241C1 #5B68D5 #8C95E1 #BCC2EE

Accessibility & contrast

On white

4.79
#5B68D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5B68D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68D5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68D5#FFFFFF#000000##FFFFFF
##5B68D51.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C78D9
Deuteranopia (green-blind)
#126DD3
Tritanopia (blue-blind)
#068195
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b68d5;
/* rgb */ color: rgb(91, 104, 213);
/* oklch */ color: oklch(56.4% 0.166 274.7);
Tailwind
colors: {
  custom: {
    50: '#9393e3',
    500: '#5b68d5',
    950: '#000000',
  },
}
SCSS
$custom: #5b68d5;
$custom-light: #9393e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68d5",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 233.607,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56358,
    "c": 0.16602,
    "h": 274.7
  },
  "luminance": 0.16929
}

Semantic roles & 50–950 ramp

primary
#5B68D5
secondary
#DED9AE
accent
#D245E2
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B68D5

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

Preview Lab → · Contrast checker → · Palette generator →

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