#5B66ED#5B66ED

#5B66ED is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.7% C 0.201 H 274.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5B66ED
RGBrgb(91, 102, 237)
HSLhsl(235, 80%, 64%)
HSVhsv(235, 62%, 93%)
CMYKcmyk(61.6%, 57%, 0%, 7.1%)
CIE-LABlab(49.30, 36.08, -69.57)
CIE-LCHlch(49.30, 78.37, 297.41°)
OKLaboklab(57.72% 0.0164 -0.2)
OKLCHoklch(57.72% 0.201 274.7)
XYZxyz(24.3468, 17.8393, 82.2647)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66ED #EDE25B
analogous
#5BAFED #5B66ED #995BED
triadic
#5B66ED #ED5B66 #66ED5B
tetradic
#5B66ED #ED5BAF #EDE25B #5BED99
square
#5B66ED #ED5BAF #EDE25B #5BED99
split-complementary
#5B66ED #ED995B #AFED5B
monochromatic
#1421B9 #2433E7 #5B66ED #9299F3 #C9CDF9

Accessibility & contrast

On white

4.60
#5B66ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5B66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66ED
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66ED#FFFFFF#000000##FFFFFF
##5B66ED1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#006FEA
Tritanopia (blue-blind)
#0087A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b66ed;
/* rgb */ color: rgb(91, 102, 237);
/* oklch */ color: oklch(57.7% 0.201 274.7);
Tailwind
colors: {
  custom: {
    50: '#9791f4',
    500: '#5b66ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b66ed;
$custom-light: #9791f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66ed",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 235.479,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.20067,
    "h": 274.7
  },
  "luminance": 0.17841
}

Semantic roles & 50–950 ramp

primary
#5B66ED
secondary
#EBE7B9
accent
#CD09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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