#5A65E1#5A65E1

#5A65E1 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.6% C 0.186 H 274.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5A65E1
RGBrgb(90, 101, 225)
HSLhsl(235, 69%, 62%)
HSVhsv(235, 60%, 88%)
CMYKcmyk(60%, 55.1%, 0%, 11.8%)
CIE-LABlab(48.15, 32.58, -64.68)
CIE-LCHlch(48.15, 72.42, 296.74°)
OKLaboklab(56.58% 0.016 -0.1856)
OKLCHoklch(56.58% 0.186 274.9)
XYZxyz(22.4563, 16.9155, 73.3012)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65E1 #E1D65A
analogous
#5AA9E1 #5A65E1 #935AE1
triadic
#5A65E1 #E15A65 #65E15A
tetradic
#5A65E1 #E15AA9 #E1D65A #5AE193
square
#5A65E1 #E15AA9 #E1D65A #5AE193
split-complementary
#5A65E1 #E1935A #A9E15A
monochromatic
#1E28A3 #2735D7 #5A65E1 #8E95EA #C2C6F4

Accessibility & contrast

On white

4.79
#5A65E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5A65E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65E1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65E1#FFFFFF#000000##FFFFFF
##5A65E11.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a65e1;
/* rgb */ color: rgb(90, 101, 225);
/* oklch */ color: oklch(56.6% 0.186 274.9);
Tailwind
colors: {
  custom: {
    50: '#9590eb',
    500: '#5a65e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a65e1;
$custom-light: #9590eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65e1",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 225
  },
  "hsl": {
    "h": 235.111,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56585,
    "c": 0.18633,
    "h": 274.9
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#5A65E1
secondary
#E4E0B2
accent
#C214D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A65E1

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

Preview Lab → · Contrast checker → · Palette generator →

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