#5A65E6#5A65E6

#5A65E6 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.0% C 0.193 H 274.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5A65E6
RGBrgb(90, 101, 230)
HSLhsl(235, 74%, 63%)
HSVhsv(235, 61%, 90%)
CMYKcmyk(60.9%, 56.1%, 0%, 9.8%)
CIE-LABlab(48.50, 34.22, -66.94)
CIE-LCHlch(48.50, 75.18, 297.08°)
OKLaboklab(56.95% 0.0161 -0.1923)
OKLCHoklch(56.95% 0.193 274.8)
XYZxyz(23.1484, 17.1923, 76.9462)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65E6 #E6DB5A
analogous
#5AABE6 #5A65E6 #955AE6
triadic
#5A65E6 #E65A65 #65E65A
tetradic
#5A65E6 #E65AAB #E6DB5A #5AE695
square
#5A65E6 #E65AAB #E6DB5A #5AE695
split-complementary
#5A65E6 #E6955A #ABE65A
monochromatic
#1A25AC #2533DE #5A65E6 #8F97EE #C4C8F6

Accessibility & contrast

On white

4.73
#5A65E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5A65E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65E6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65E6#FFFFFF#000000##FFFFFF
##5A65E61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a65e6;
/* rgb */ color: rgb(90, 101, 230);
/* oklch */ color: oklch(57.0% 0.193 274.8);
Tailwind
colors: {
  custom: {
    50: '#9690ef',
    500: '#5a65e6',
    950: '#000000',
  },
}
SCSS
$custom: #5a65e6;
$custom-light: #9690ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65e6",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 235.286,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.19296,
    "h": 274.8
  },
  "luminance": 0.17194
}

Semantic roles & 50–950 ramp

primary
#5A65E6
secondary
#E7E3B5
accent
#C610D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5A65E6

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

Preview Lab → · Contrast checker → · Palette generator →

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