#5A65E8#5A65E8

#5A65E8 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.196 H 274.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5A65E8
RGBrgb(90, 101, 232)
HSLhsl(235, 76%, 63%)
HSVhsv(235, 61%, 91%)
CMYKcmyk(61.2%, 56.5%, 0%, 9%)
CIE-LABlab(48.64, 34.88, -67.83)
CIE-LCHlch(48.64, 76.28, 297.21°)
OKLaboklab(57.1% 0.0162 -0.1949)
OKLCHoklch(57.1% 0.196 274.7)
XYZxyz(23.4308, 17.3053, 78.4338)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65E8 #E8DD5A
analogous
#5AACE8 #5A65E8 #965AE8
triadic
#5A65E8 #E85A65 #65E85A
tetradic
#5A65E8 #E85AAC #E8DD5A #5AE896
square
#5A65E8 #E85AAC #E8DD5A #5AE896
split-complementary
#5A65E8 #E8965A #ACE85A
monochromatic
#1824AF #2433E1 #5A65E8 #9097EF #C5C9F7

Accessibility & contrast

On white

4.71
#5A65E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5A65E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65E8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65E8#FFFFFF#000000##FFFFFF
##5A65E81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a65e8;
/* rgb */ color: rgb(90, 101, 232);
/* oklch */ color: oklch(57.1% 0.196 274.7);
Tailwind
colors: {
  custom: {
    50: '#9690f0',
    500: '#5a65e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a65e8;
$custom-light: #9690f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65e8",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 232
  },
  "hsl": {
    "h": 235.352,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57104,
    "c": 0.19559,
    "h": 274.7
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A65E8

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

Preview Lab → · Contrast checker → · Palette generator →

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