#5B66E7#5B66E7

#5B66E7 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.3% C 0.193 H 274.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5B66E7
RGBrgb(91, 102, 231)
HSLhsl(235, 74%, 63%)
HSVhsv(235, 61%, 91%)
CMYKcmyk(60.6%, 55.8%, 0%, 9.4%)
CIE-LABlab(48.88, 34.11, -66.89)
CIE-LCHlch(48.88, 75.08, 297.02°)
OKLaboklab(57.27% 0.0163 -0.1921)
OKLCHoklch(57.27% 0.193 274.9)
XYZxyz(23.4848, 17.4945, 77.7250)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66E7 #E7DC5B
analogous
#5BACE7 #5B66E7 #965BE7
triadic
#5B66E7 #E75B66 #66E75B
tetradic
#5B66E7 #E75BAC #E7DC5B #5BE796
square
#5B66E7 #E75BAC #E7DC5B #5BE796
split-complementary
#5B66E7 #E7965B #ACE75B
monochromatic
#1925AE #2634DF #5B66E7 #9098EF #C6CAF7

Accessibility & contrast

On white

4.67
#5B66E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5B66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66E7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66E7#FFFFFF#000000##FFFFFF
##5B66E71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b66e7;
/* rgb */ color: rgb(91, 102, 231);
/* oklch */ color: oklch(57.3% 0.193 274.9);
Tailwind
colors: {
  custom: {
    50: '#9691ef',
    500: '#5b66e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b66e7;
$custom-light: #9691ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66e7",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 235.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57273,
    "c": 0.19279,
    "h": 274.9
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#5B66E7
secondary
#E8E4B6
accent
#C70FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5B66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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