#5B5EE0#5B5EE0

#5B5EE0 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.3% C 0.194 H 277.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5B5EE0
RGBrgb(91, 94, 224)
HSLhsl(239, 68%, 62%)
HSVhsv(239, 59%, 88%)
CMYKcmyk(59.4%, 58%, 0%, 12.2%)
CIE-LABlab(46.46, 36.69, -66.86)
CIE-LCHlch(46.46, 76.26, 298.76°)
OKLaboklab(55.32% 0.0236 -0.1921)
OKLCHoklch(55.32% 0.194 277)
XYZxyz(21.7673, 15.6097, 72.3725)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5EE0 #E0DD5B
analogous
#5BA0E0 #5B5EE0 #9B5BE0
triadic
#5B5EE0 #E05B5E #5EE05B
tetradic
#5B5EE0 #E05BA0 #E0DD5B #5BE09B
square
#5B5EE0 #E05BA0 #E0DD5B #5BE09B
split-complementary
#5B5EE0 #E09B5B #A0E05B
monochromatic
#1F22A2 #282CD5 #5B5EE0 #8E91EA #C2C3F3

Accessibility & contrast

On white

5.09
#5B5EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5B5EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5EE0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5EE0#FFFFFF#000000##FFFFFF
##5B5EE01.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b5ee0;
/* rgb */ color: rgb(91, 94, 224);
/* oklch */ color: oklch(55.3% 0.194 277.0);
Tailwind
colors: {
  custom: {
    50: '#958beb',
    500: '#5b5ee0',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ee0;
$custom-light: #958beb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ee0",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 224
  },
  "hsl": {
    "h": 238.647,
    "s": 68.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.19353,
    "h": 277
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#5B5EE0
secondary
#E4E3B3
accent
#CC15D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B5EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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