#5B68CD#5B68CD

#5B68CD is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.8% C 0.155 H 274.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5B68CD
RGBrgb(91, 104, 205)
HSLhsl(233, 53%, 58%)
HSVhsv(233, 56%, 80%)
CMYKcmyk(55.6%, 49.3%, 0%, 19.6%)
CIE-LABlab(47.66, 24.37, -54.08)
CIE-LCHlch(47.66, 59.32, 294.25°)
OKLaboklab(55.82% 0.0127 -0.1544)
OKLCHoklch(55.82% 0.155 274.7)
XYZxyz(20.2806, 16.5311, 59.8679)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68CD #CDC05B
analogous
#5BA1CD #5B68CD #875BCD
triadic
#5B68CD #CD5B68 #68CD5B
tetradic
#5B68CD #CD5BA1 #CDC05B #5BCD87
square
#5B68CD #CD5BA1 #CDC05B #5BCD87
split-complementary
#5B68CD #CD875B #A1CD5B
monochromatic
#293385 #3745B4 #5B68CD #8A93DB #B9BEEA

Accessibility & contrast

On white

4.88
#5B68CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5B68CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68CD#FFFFFF#000000##FFFFFF
##5B68CD1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#256CCB
Tritanopia (blue-blind)
#1C7F91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b68cd;
/* rgb */ color: rgb(91, 104, 205);
/* oklch */ color: oklch(55.8% 0.155 274.7);
Tailwind
colors: {
  custom: {
    50: '#9292dd',
    500: '#5b68cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b68cd;
$custom-light: #9292dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68cd",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 233.158,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55815,
    "c": 0.15495,
    "h": 274.7
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#5B68CD
secondary
#D9D3AB
accent
#CC4BDD
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B68CD

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

Preview Lab → · Contrast checker → · Palette generator →

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