#5A65E7#5A65E7

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

Color values

HEX#5A65E7
RGBrgb(90, 101, 231)
HSLhsl(235, 75%, 63%)
HSVhsv(235, 61%, 91%)
CMYKcmyk(61%, 56.3%, 0%, 9.4%)
CIE-LABlab(48.57, 34.55, -67.38)
CIE-LCHlch(48.57, 75.73, 297.15°)
OKLaboklab(57.03% 0.0162 -0.1936)
OKLCHoklch(57.03% 0.194 274.8)
XYZxyz(23.2892, 17.2487, 77.6879)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65E7 #E7DC5A
analogous
#5AABE7 #5A65E7 #955AE7
triadic
#5A65E7 #E75A65 #65E75A
tetradic
#5A65E7 #E75AAB #E7DC5A #5AE795
square
#5A65E7 #E75AAB #E7DC5A #5AE795
split-complementary
#5A65E7 #E7955A #ABE75A
monochromatic
#1925AD #2533DF #5A65E7 #8F97EF #C5C9F7

Accessibility & contrast

On white

4.72
#5A65E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5A65E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65E7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65E7#FFFFFF#000000##FFFFFF
##5A65E71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a65e7;
/* rgb */ color: rgb(90, 101, 231);
/* oklch */ color: oklch(57.0% 0.194 274.8);
Tailwind
colors: {
  custom: {
    50: '#9690ef',
    500: '#5a65e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a65e7;
$custom-light: #9690ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65e7",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 235.319,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.19427,
    "h": 274.8
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

primary
#5A65E7
secondary
#E8E4B5
accent
#C70FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A65E7

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

Preview Lab → · Contrast checker → · Palette generator →

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