#5B66F4#5B66F4

#5B66F4 is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.3% C 0.210 H 274.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5B66F4
RGBrgb(91, 102, 244)
HSLhsl(236, 87%, 66%)
HSVhsv(236, 63%, 96%)
CMYKcmyk(62.7%, 58.2%, 0%, 4.3%)
CIE-LABlab(49.81, 38.37, -72.67)
CIE-LCHlch(49.81, 82.17, 297.84°)
OKLaboklab(58.26% 0.0164 -0.2091)
OKLCHoklch(58.26% 0.21 274.5)
XYZxyz(25.3895, 18.2564, 87.7563)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66F4 #F4E95B
analogous
#5BB3F4 #5B66F4 #9C5BF4
triadic
#5B66F4 #F45B66 #66F45B
tetradic
#5B66F4 #F45BB3 #F4E95B #5BF49C
square
#5B66F4 #F45BB3 #F4E95B #5BF49C
split-complementary
#5B66F4 #F49C5B #B3F45B
monochromatic
#0D1BC7 #2230F0 #5B66F4 #949CF8 #CED1FC

Accessibility & contrast

On white

4.51
#5B66F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5B66F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B66F4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66F4#FFFFFF#000000##000000
##5B66F41.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0070F1
Tritanopia (blue-blind)
#0089A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b66f4;
/* rgb */ color: rgb(91, 102, 244);
/* oklch */ color: oklch(58.3% 0.210 274.5);
Tailwind
colors: {
  custom: {
    50: '#9891f9',
    500: '#5b66f4',
    950: '#000000',
  },
}
SCSS
$custom: #5b66f4;
$custom-light: #9891f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66f4",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 235.686,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.20974,
    "h": 274.5
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#5B66F4
secondary
#EFEBBC
accent
#D402E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5B66F4

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

Preview Lab → · Contrast checker → · Palette generator →

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