#5B6FED#5B6FED

#5B6FED is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.4% C 0.190 H 272.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5B6FED
RGBrgb(91, 111, 237)
HSLhsl(232, 80%, 64%)
HSVhsv(232, 62%, 93%)
CMYKcmyk(61.6%, 53.2%, 0%, 7.1%)
CIE-LABlab(51.50, 30.59, -66.00)
CIE-LCHlch(51.50, 72.75, 294.87°)
OKLaboklab(59.37% 0.0083 -0.1894)
OKLCHoklch(59.37% 0.19 272.5)
XYZxyz(25.2798, 19.7053, 82.5757)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FED #EDD95B
analogous
#5BB8ED #5B6FED #905BED
triadic
#5B6FED #ED5B6F #6FED5B
tetradic
#5B6FED #ED5BB8 #EDD95B #5BED90
square
#5B6FED #ED5BB8 #EDD95B #5BED90
split-complementary
#5B6FED #ED905B #B8ED5B
monochromatic
#142BB9 #243FE7 #5B6FED #929FF3 #C9D0F9

Accessibility & contrast

On white

4.25
#5B6FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5B6FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FED
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FED#FFFFFF#000000##000000
##5B6FED1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F1
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b6fed;
/* rgb */ color: rgb(91, 111, 237);
/* oklch */ color: oklch(59.4% 0.190 272.5);
Tailwind
colors: {
  custom: {
    50: '#9798f4',
    500: '#5b6fed',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fed;
$custom-light: #9798f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fed",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 231.781,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.18959,
    "h": 272.5
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#5B6FED
secondary
#EBE4B9
accent
#C009DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6FED

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

Preview Lab → · Contrast checker → · Palette generator →

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