#5B5FED#5B5FED

#5B5FED is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.5% C 0.209 H 276.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5B5FED
RGBrgb(91, 95, 237)
HSLhsl(238, 80%, 64%)
HSVhsv(238, 62%, 93%)
CMYKcmyk(61.6%, 59.9%, 0%, 7.1%)
CIE-LABlab(47.65, 40.30, -72.25)
CIE-LCHlch(47.65, 82.73, 299.15°)
OKLaboklab(56.5% 0.0225 -0.2079)
OKLCHoklch(56.5% 0.209 276.2)
XYZxyz(23.6877, 16.5211, 82.0450)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5FED #EDE95B
analogous
#5BA8ED #5B5FED #A05BED
triadic
#5B5FED #ED5B5F #5FED5B
tetradic
#5B5FED #ED5BA8 #EDE95B #5BEDA0
square
#5B5FED #ED5BA8 #EDE95B #5BEDA0
split-complementary
#5B5FED #EDA05B #A8ED5B
monochromatic
#1419B9 #2429E7 #5B5FED #9295F3 #C9CBF9

Accessibility & contrast

On white

4.88
#5B5FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5B5FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5FED
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5FED#FFFFFF#000000##FFFFFF
##5B5FED1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b5fed;
/* rgb */ color: rgb(91, 95, 237);
/* oklch */ color: oklch(56.5% 0.209 276.2);
Tailwind
colors: {
  custom: {
    50: '#988cf4',
    500: '#5b5fed',
    950: '#000000',
  },
}
SCSS
$custom: #5b5fed;
$custom-light: #988cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5fed",
  "rgb": {
    "r": 91,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 238.356,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.20915,
    "h": 276.2
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#5B5FED
secondary
#EBEAB9
accent
#D709DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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