#5B66DB#5B66DB

#5B66DB is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.4% C 0.177 H 275.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5B66DB
RGBrgb(91, 102, 219)
HSLhsl(235, 64%, 61%)
HSVhsv(235, 58%, 86%)
CMYKcmyk(58.4%, 53.4%, 0%, 14.1%)
CIE-LABlab(48.06, 30.18, -61.43)
CIE-LCHlch(48.06, 68.44, 296.16°)
OKLaboklab(56.4% 0.0159 -0.1761)
OKLCHoklch(56.4% 0.177 275.2)
XYZxyz(21.8478, 16.8397, 69.1032)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66DB #DBD05B
analogous
#5BA6DB #5B66DB #905BDB
triadic
#5B66DB #DB5B66 #66DB5B
tetradic
#5B66DB #DB5BA6 #DBD05B #5BDB90
square
#5B66DB #DB5BA6 #DBD05B #5BDB90
split-complementary
#5B66DB #DB905B #A6DB5B
monochromatic
#222C9A #2D3ACC #5B66DB #8D95E6 #BFC4F1

Accessibility & contrast

On white

4.81
#5B66DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5B66DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66DB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66DB#FFFFFF#000000##FFFFFF
##5B66DB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b66db;
/* rgb */ color: rgb(91, 102, 219);
/* oklch */ color: oklch(56.4% 0.177 275.2);
Tailwind
colors: {
  custom: {
    50: '#9491e7',
    500: '#5b66db',
    950: '#000000',
  },
}
SCSS
$custom: #5b66db;
$custom-light: #9491e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66db",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 234.844,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.564,
    "c": 0.17677,
    "h": 275.2
  },
  "luminance": 0.16841
}

Semantic roles & 50–950 ramp

primary
#5B66DB
secondary
#E1DDB1
accent
#BC1ACC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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