#5B66DF#5B66DF

#5B66DF is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.7% C 0.182 H 275.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5B66DF
RGBrgb(91, 102, 223)
HSLhsl(235, 67%, 62%)
HSVhsv(235, 59%, 87%)
CMYKcmyk(59.2%, 54.3%, 0%, 12.5%)
CIE-LABlab(48.33, 31.49, -63.26)
CIE-LCHlch(48.33, 70.66, 296.46°)
OKLaboklab(56.69% 0.0161 -0.1814)
OKLCHoklch(56.69% 0.182 275.1)
XYZxyz(22.3807, 17.0529, 71.9099)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66DF #DFD45B
analogous
#5BA8DF #5B66DF #925BDF
triadic
#5B66DF #DF5B66 #66DF5B
tetradic
#5B66DF #DF5BA8 #DFD45B #5BDF92
square
#5B66DF #DF5BA8 #DFD45B #5BDF92
split-complementary
#5B66DF #DF925B #A8DF5B
monochromatic
#1F2AA0 #2937D4 #5B66DF #8E96E9 #C1C6F3

Accessibility & contrast

On white

4.76
#5B66DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5B66DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66DF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66DF#FFFFFF#000000##FFFFFF
##5B66DF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F79E3
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b66df;
/* rgb */ color: rgb(91, 102, 223);
/* oklch */ color: oklch(56.7% 0.182 275.1);
Tailwind
colors: {
  custom: {
    50: '#9591ea',
    500: '#5b66df',
    950: '#000000',
  },
}
SCSS
$custom: #5b66df;
$custom-light: #9591ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66df",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 235,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56687,
    "c": 0.18215,
    "h": 275.1
  },
  "luminance": 0.17055
}

Semantic roles & 50–950 ramp

primary
#5B66DF
secondary
#E3DFB2
accent
#C016CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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