#5B66EB#5B66EB

#5B66EB is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.6% C 0.198 H 274.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5B66EB
RGBrgb(91, 102, 235)
HSLhsl(235, 78%, 64%)
HSVhsv(235, 61%, 92%)
CMYKcmyk(61.3%, 56.6%, 0%, 7.8%)
CIE-LABlab(49.16, 35.42, -68.68)
CIE-LCHlch(49.16, 77.27, 297.28°)
OKLaboklab(57.57% 0.0164 -0.1974)
OKLCHoklch(57.57% 0.198 274.7)
XYZxyz(24.0562, 17.7231, 80.7344)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66EB #EBE05B
analogous
#5BAEEB #5B66EB #985BEB
triadic
#5B66EB #EB5B66 #66EB5B
tetradic
#5B66EB #EB5BAE #EBE05B #5BEB98
square
#5B66EB #EB5BAE #EBE05B #5BEB98
split-complementary
#5B66EB #EB985B #AEEB5B
monochromatic
#1622B5 #2433E4 #5B66EB #9299F2 #C8CCF8

Accessibility & contrast

On white

4.62
#5B66EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5B66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66EB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66EB#FFFFFF#000000##FFFFFF
##5B66EB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b66eb;
/* rgb */ color: rgb(91, 102, 235);
/* oklch */ color: oklch(57.6% 0.198 274.7);
Tailwind
colors: {
  custom: {
    50: '#9791f2',
    500: '#5b66eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b66eb;
$custom-light: #9791f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66eb",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 235.417,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57571,
    "c": 0.19805,
    "h": 274.7
  },
  "luminance": 0.17725
}

Semantic roles & 50–950 ramp

primary
#5B66EB
secondary
#EAE6B8
accent
#CB0BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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