#5B68ED#5B68ED

#5B68ED is a mid, vivid blue. Relative luminance 0.182; OKLCH L 58.1% C 0.198 H 274.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5B68ED
RGBrgb(91, 104, 237)
HSLhsl(235, 80%, 64%)
HSVhsv(235, 62%, 93%)
CMYKcmyk(61.6%, 56.1%, 0%, 7.1%)
CIE-LABlab(49.78, 34.86, -68.79)
CIE-LCHlch(49.78, 77.12, 296.88°)
OKLaboklab(58.08% 0.0146 -0.1977)
OKLCHoklch(58.08% 0.198 274.2)
XYZxyz(24.5457, 18.2372, 82.3310)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68ED #EDE05B
analogous
#5BB1ED #5B68ED #975BED
triadic
#5B68ED #ED5B68 #68ED5B
tetradic
#5B68ED #ED5BB1 #EDE05B #5BED97
square
#5B68ED #ED5BB1 #EDE05B #5BED97
split-complementary
#5B68ED #ED975B #B1ED5B
monochromatic
#1423B9 #2435E7 #5B68ED #929BF3 #C9CEF9

Accessibility & contrast

On white

4.52
#5B68ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5B68ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B68ED
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68ED#FFFFFF#000000##000000
##5B68ED1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b68ed;
/* rgb */ color: rgb(91, 104, 237);
/* oklch */ color: oklch(58.1% 0.198 274.2);
Tailwind
colors: {
  custom: {
    50: '#9793f4',
    500: '#5b68ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b68ed;
$custom-light: #9793f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68ed",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 234.658,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.19822,
    "h": 274.2
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#5B68ED
secondary
#EBE7B9
accent
#CA09DD
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B68ED

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

Preview Lab → · Contrast checker → · Palette generator →

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