#5A65EA#5A65EA

#5A65EA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.3% C 0.198 H 274.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5A65EA
RGBrgb(90, 101, 234)
HSLhsl(235, 77%, 64%)
HSVhsv(235, 62%, 92%)
CMYKcmyk(61.5%, 56.8%, 0%, 8.2%)
CIE-LABlab(48.78, 35.54, -68.73)
CIE-LCHlch(48.78, 77.37, 297.34°)
OKLaboklab(57.25% 0.0162 -0.1975)
OKLCHoklch(57.25% 0.198 274.7)
XYZxyz(23.7165, 17.4196, 79.9385)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65EA #EADF5A
analogous
#5AADEA #5A65EA #975AEA
triadic
#5A65EA #EA5A65 #65EA5A
tetradic
#5A65EA #EA5AAD #EADF5A #5AEA97
square
#5A65EA #EA5AAD #EADF5A #5AEA97
split-complementary
#5A65EA #EA975A #ADEA5A
monochromatic
#1723B3 #2432E3 #5A65EA #9098F1 #C7CAF8

Accessibility & contrast

On white

4.68
#5A65EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5A65EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65EA#FFFFFF#000000##FFFFFF
##5A65EA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a65ea;
/* rgb */ color: rgb(90, 101, 234);
/* oklch */ color: oklch(57.3% 0.198 274.7);
Tailwind
colors: {
  custom: {
    50: '#9690f2',
    500: '#5a65ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a65ea;
$custom-light: #9690f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65ea",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 235.417,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.19821,
    "h": 274.7
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#5A65EA
secondary
#E9E6B6
accent
#CA0CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A65EA

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

Preview Lab → · Contrast checker → · Palette generator →

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