#5B68DF#5B68DF

#5B68DF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.1% C 0.180 H 274.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5B68DF
RGBrgb(91, 104, 223)
HSLhsl(234, 67%, 62%)
HSVhsv(234, 59%, 87%)
CMYKcmyk(59.2%, 53.4%, 0%, 12.5%)
CIE-LABlab(48.82, 30.26, -62.46)
CIE-LCHlch(48.82, 69.40, 295.85°)
OKLaboklab(57.06% 0.0141 -0.1791)
OKLCHoklch(57.06% 0.18 274.5)
XYZxyz(22.5796, 17.4507, 71.9762)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68DF #DFD25B
analogous
#5BAADF #5B68DF #905BDF
triadic
#5B68DF #DF5B68 #68DF5B
tetradic
#5B68DF #DF5BAA #DFD25B #5BDF90
square
#5B68DF #DF5BAA #DFD25B #5BDF90
split-complementary
#5B68DF #DF905B #AADF5B
monochromatic
#1F2CA0 #293AD4 #5B68DF #8E97E9 #C1C6F3

Accessibility & contrast

On white

4.68
#5B68DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5B68DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68DF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68DF#FFFFFF#000000##FFFFFF
##5B68DF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A7AE3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b68df;
/* rgb */ color: rgb(91, 104, 223);
/* oklch */ color: oklch(57.1% 0.180 274.5);
Tailwind
colors: {
  custom: {
    50: '#9593ea',
    500: '#5b68df',
    950: '#000000',
  },
}
SCSS
$custom: #5b68df;
$custom-light: #9593ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68df",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 234.091,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.17962,
    "h": 274.5
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#5B68DF
secondary
#E3DFB2
accent
#BD16CF
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B68DF

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

Preview Lab → · Contrast checker → · Palette generator →

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