#5A66DB#5A66DB

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

Color values

HEX#5A66DB
RGBrgb(90, 102, 219)
HSLhsl(234, 64%, 61%)
HSVhsv(234, 59%, 86%)
CMYKcmyk(58.9%, 53.4%, 0%, 14.1%)
CIE-LABlab(47.99, 29.99, -61.54)
CIE-LCHlch(47.99, 68.46, 295.99°)
OKLaboklab(56.34% 0.0148 -0.1764)
OKLCHoklch(56.34% 0.177 274.8)
XYZxyz(21.7498, 16.7892, 69.0986)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66DB #DBCF5A
analogous
#5AA6DB #5A66DB #8F5ADB
triadic
#5A66DB #DB5A66 #66DB5A
tetradic
#5A66DB #DB5AA6 #DBCF5A #5ADB8F
square
#5A66DB #DB5AA6 #DBCF5A #5ADB8F
split-complementary
#5A66DB #DB8F5A #A6DB5A
monochromatic
#212D99 #2C3BCB #5A66DB #8C95E6 #BEC3F1

Accessibility & contrast

On white

4.82
#5A66DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5A66DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66DB#FFFFFF#000000##FFFFFF
##5A66DB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a66db;
/* rgb */ color: rgb(90, 102, 219);
/* oklch */ color: oklch(56.3% 0.177 274.8);
Tailwind
colors: {
  custom: {
    50: '#9491e7',
    500: '#5a66db',
    950: '#000000',
  },
}
SCSS
$custom: #5a66db;
$custom-light: #9491e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66db",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 234.419,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56335,
    "c": 0.17701,
    "h": 274.8
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

primary
#5A66DB
secondary
#E1DCB0
accent
#BB1ACC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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