#5B68EA#5B68EA

#5B68EA is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.9% C 0.194 H 274.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5B68EA
RGBrgb(91, 104, 234)
HSLhsl(235, 77%, 64%)
HSVhsv(235, 61%, 92%)
CMYKcmyk(61.1%, 55.6%, 0%, 8.2%)
CIE-LABlab(49.57, 33.88, -67.45)
CIE-LCHlch(49.57, 75.47, 296.67°)
OKLaboklab(57.86% 0.0146 -0.1937)
OKLCHoklch(57.86% 0.194 274.3)
XYZxyz(24.1111, 18.0633, 80.0419)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68EA #EADD5B
analogous
#5BAFEA #5B68EA #955BEA
triadic
#5B68EA #EA5B68 #68EA5B
tetradic
#5B68EA #EA5BAF #EADD5B #5BEA95
square
#5B68EA #EA5BAF #EADD5B #5BEA95
split-complementary
#5B68EA #EA955B #AFEA5B
monochromatic
#1725B4 #2536E3 #5B68EA #919AF1 #C8CCF8

Accessibility & contrast

On white

4.55
#5B68EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5B68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B68EA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68EA#FFFFFF#000000##000000
##5B68EA1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b68ea;
/* rgb */ color: rgb(91, 104, 234);
/* oklch */ color: oklch(57.9% 0.194 274.3);
Tailwind
colors: {
  custom: {
    50: '#9793f2',
    500: '#5b68ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b68ea;
$custom-light: #9793f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68ea",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 234.545,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57858,
    "c": 0.19428,
    "h": 274.3
  },
  "luminance": 0.18065
}

Semantic roles & 50–950 ramp

primary
#5B68EA
secondary
#EAE5B7
accent
#C70CDA
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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