#5B5BF0#5B5BF0

#5B5BF0 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.1% C 0.218 H 276.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5B5BF0
RGBrgb(91, 91, 240)
HSLhsl(240, 83%, 65%)
HSVhsv(240, 62%, 94%)
CMYKcmyk(62.1%, 62.1%, 0%, 5.9%)
CIE-LABlab(46.97, 43.64, -75.05)
CIE-LCHlch(46.97, 86.81, 300.18°)
OKLaboklab(56.07% 0.0256 -0.2162)
OKLCHoklch(56.07% 0.218 276.8)
XYZxyz(23.7785, 15.9957, 84.2556)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5BF0 #F0F05B
analogous
#5BA6F0 #5B5BF0 #A65BF0
triadic
#5B5BF0 #F05B5B #5BF05B
tetradic
#5B5BF0 #F05BA6 #F0F05B #5BF0A6
square
#5B5BF0 #F05BA6 #F0F05B #5BF0A6
split-complementary
#5B5BF0 #F0A65B #A6F05B
monochromatic
#1111BF #2323EB #5B5BF0 #9393F5 #CBCBFA

Accessibility & contrast

On white

5.00
#5B5BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5B5BF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5BF0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5BF0#FFFFFF#000000##FFFFFF
##5B5BF01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#0069ED
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b5bf0;
/* rgb */ color: rgb(91, 91, 240);
/* oklch */ color: oklch(56.1% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#988af6',
    500: '#5b5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #5b5bf0;
$custom-light: #988af6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5bf0",
  "rgb": {
    "r": 91,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 240,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56071,
    "c": 0.2177,
    "h": 276.8
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#5B5BF0
secondary
#EDEDBA
accent
#E006E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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