#5B68C8#5B68C8

#5B68C8 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.5% C 0.148 H 274.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5B68C8
RGBrgb(91, 104, 200)
HSLhsl(233, 50%, 57%)
HSVhsv(233, 55%, 78%)
CMYKcmyk(54.5%, 48%, 0%, 21.6%)
CIE-LABlab(47.36, 22.74, -51.71)
CIE-LCHlch(47.36, 56.49, 293.74°)
OKLaboklab(55.48% 0.0122 -0.1474)
OKLCHoklch(55.48% 0.148 274.7)
XYZxyz(19.6867, 16.2936, 56.7400)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68C8 #C8BB5B
analogous
#5B9FC8 #5B68C8 #855BC8
triadic
#5B68C8 #C85B68 #68C85B
tetradic
#5B68C8 #C85B9F #C8BB5B #5BC885
square
#5B68C8 #C85B9F #C8BB5B #5BC885
split-complementary
#5B68C8 #C8855B #9FC85B
monochromatic
#2A347E #3A47AC #5B68C8 #8992D7 #B7BCE7

Accessibility & contrast

On white

4.93
#5B68C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5B68C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68C8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68C8#FFFFFF#000000##FFFFFF
##5B68C81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CC
Deuteranopia (green-blind)
#2D6CC6
Tritanopia (blue-blind)
#247D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b68c8;
/* rgb */ color: rgb(91, 104, 200);
/* oklch */ color: oklch(55.5% 0.148 274.7);
Tailwind
colors: {
  custom: {
    50: '#9192d9',
    500: '#5b68c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b68c8;
$custom-light: #9192d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68c8",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 232.844,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.14793,
    "h": 274.7
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#5B68C8
secondary
#D6D0A9
accent
#C94FD9
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5B68C8

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

Preview Lab → · Contrast checker → · Palette generator →

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