#5B66E9#5B66E9

#5B66E9 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.4% C 0.195 H 274.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5B66E9
RGBrgb(91, 102, 233)
HSLhsl(235, 76%, 64%)
HSVhsv(235, 61%, 91%)
CMYKcmyk(60.9%, 56.2%, 0%, 8.6%)
CIE-LABlab(49.02, 34.76, -67.78)
CIE-LCHlch(49.02, 76.18, 297.15°)
OKLaboklab(57.42% 0.0164 -0.1947)
OKLCHoklch(57.42% 0.195 274.8)
XYZxyz(23.7689, 17.6082, 79.2212)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66E9 #E9DE5B
analogous
#5BADE9 #5B66E9 #975BE9
triadic
#5B66E9 #E95B66 #66E95B
tetradic
#5B66E9 #E95BAD #E9DE5B #5BE997
square
#5B66E9 #E95BAD #E9DE5B #5BE997
split-complementary
#5B66E9 #E9975B #ADE95B
monochromatic
#1824B2 #2534E2 #5B66E9 #9198F0 #C7CBF7

Accessibility & contrast

On white

4.64
#5B66E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5B66E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66E9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66E9#FFFFFF#000000##FFFFFF
##5B66E91.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b66e9;
/* rgb */ color: rgb(91, 102, 233);
/* oklch */ color: oklch(57.4% 0.195 274.8);
Tailwind
colors: {
  custom: {
    50: '#9691f1',
    500: '#5b66e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b66e9;
$custom-light: #9691f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66e9",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 235.352,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.19543,
    "h": 274.8
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#5B66E9
secondary
#E9E5B7
accent
#C90DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5B66E9

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

Preview Lab → · Contrast checker → · Palette generator →

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