#5A65EC#5A65EC

#5A65EC is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.4% C 0.201 H 274.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5A65EC
RGBrgb(90, 101, 236)
HSLhsl(235, 79%, 64%)
HSVhsv(235, 62%, 93%)
CMYKcmyk(61.9%, 57.2%, 0%, 7.5%)
CIE-LABlab(48.93, 36.19, -69.62)
CIE-LCHlch(48.93, 78.46, 297.47°)
OKLaboklab(57.41% 0.0162 -0.2002)
OKLCHoklch(57.41% 0.201 274.6)
XYZxyz(24.0055, 17.5352, 81.4602)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65EC #ECE15A
analogous
#5AAEEC #5A65EC #985AEC
triadic
#5A65EC #EC5A65 #65EC5A
tetradic
#5A65EC #EC5AAE #ECE15A #5AEC98
square
#5A65EC #EC5AAE #ECE15A #5AEC98
split-complementary
#5A65EC #EC985A #AEEC5A
monochromatic
#1521B7 #2332E6 #5A65EC #9198F2 #C8CBF9

Accessibility & contrast

On white

4.66
#5A65EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5A65EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65EC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65EC#FFFFFF#000000##FFFFFF
##5A65EC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a65ec;
/* rgb */ color: rgb(90, 101, 236);
/* oklch */ color: oklch(57.4% 0.201 274.6);
Tailwind
colors: {
  custom: {
    50: '#9791f3',
    500: '#5a65ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a65ec;
$custom-light: #9791f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65ec",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 235.479,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57406,
    "c": 0.20082,
    "h": 274.6
  },
  "luminance": 0.17537
}

Semantic roles & 50–950 ramp

primary
#5A65EC
secondary
#EBE7B7
accent
#CC0ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A65EC

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

Preview Lab → · Contrast checker → · Palette generator →

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