#5B66E3#5B66E3

#5B66E3 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.187 H 275.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5B66E3
RGBrgb(91, 102, 227)
HSLhsl(235, 71%, 62%)
HSVhsv(235, 60%, 89%)
CMYKcmyk(59.9%, 55.1%, 0%, 11%)
CIE-LABlab(48.60, 32.80, -65.08)
CIE-LCHlch(48.60, 72.88, 296.75°)
OKLaboklab(56.98% 0.0162 -0.1868)
OKLCHoklch(56.98% 0.187 275)
XYZxyz(22.9264, 17.2711, 74.7837)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66E3 #E3D85B
analogous
#5BAAE3 #5B66E3 #945BE3
triadic
#5B66E3 #E35B66 #66E35B
tetradic
#5B66E3 #E35BAA #E3D85B #5BE394
square
#5B66E3 #E35BAA #E3D85B #5BE394
split-complementary
#5B66E3 #E3945B #AAE35B
monochromatic
#1D28A7 #2735DA #5B66E3 #8F97EC #C4C8F5

Accessibility & contrast

On white

4.71
#5B66E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5B66E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66E3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66E3#FFFFFF#000000##FFFFFF
##5B66E31.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b66e3;
/* rgb */ color: rgb(91, 102, 227);
/* oklch */ color: oklch(57.0% 0.187 275.0);
Tailwind
colors: {
  custom: {
    50: '#9591ed',
    500: '#5b66e3',
    950: '#000000',
  },
}
SCSS
$custom: #5b66e3;
$custom-light: #9591ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66e3",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 227
  },
  "hsl": {
    "h": 235.147,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.18749,
    "h": 275
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#5B66E3
secondary
#E6E2B4
accent
#C313D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B66E3

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

Preview Lab → · Contrast checker → · Palette generator →

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