#5B6BEB#5B6BEB

#5B6BEB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.5% C 0.192 H 273.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5B6BEB
RGBrgb(91, 107, 235)
HSLhsl(233, 78%, 64%)
HSVhsv(233, 61%, 92%)
CMYKcmyk(61.3%, 54.5%, 0%, 7.8%)
CIE-LABlab(50.38, 32.37, -66.70)
CIE-LCHlch(50.38, 74.15, 295.89°)
OKLaboklab(58.48% 0.0119 -0.1915)
OKLCHoklch(58.48% 0.192 273.5)
XYZxyz(24.5625, 18.7357, 80.9031)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BEB #EBDB5B
analogous
#5BB3EB #5B6BEB #935BEB
triadic
#5B6BEB #EB5B6B #6BEB5B
tetradic
#5B6BEB #EB5BB3 #EBDB5B #5BEB93
square
#5B6BEB #EB5BB3 #EBDB5B #5BEB93
split-complementary
#5B6BEB #EB935B #B3EB5B
monochromatic
#1628B5 #243AE4 #5B6BEB #929CF2 #C8CDF8

Accessibility & contrast

On white

4.42
#5B6BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5B6BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6BEB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BEB#FFFFFF#000000##000000
##5B6BEB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#027EEF
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6beb;
/* rgb */ color: rgb(91, 107, 235);
/* oklch */ color: oklch(58.5% 0.192 273.5);
Tailwind
colors: {
  custom: {
    50: '#9795f2',
    500: '#5b6beb',
    950: '#000000',
  },
}
SCSS
$custom: #5b6beb;
$custom-light: #9795f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6beb",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 233.333,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5848,
    "c": 0.19189,
    "h": 273.5
  },
  "luminance": 0.18738
}

Semantic roles & 50–950 ramp

primary
#5B6BEB
secondary
#EAE5B8
accent
#C30BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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