#5A65E9#5A65E9

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

Color values

HEX#5A65E9
RGBrgb(90, 101, 233)
HSLhsl(235, 76%, 63%)
HSVhsv(235, 61%, 91%)
CMYKcmyk(61.4%, 56.7%, 0%, 8.6%)
CIE-LABlab(48.71, 35.21, -68.28)
CIE-LCHlch(48.71, 76.82, 297.28°)
OKLaboklab(57.18% 0.0162 -0.1962)
OKLCHoklch(57.18% 0.197 274.7)
XYZxyz(23.5733, 17.3623, 79.1840)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65E9 #E9DE5A
analogous
#5AACE9 #5A65E9 #965AE9
triadic
#5A65E9 #E95A65 #65E95A
tetradic
#5A65E9 #E95AAC #E9DE5A #5AE996
square
#5A65E9 #E95AAC #E9DE5A #5AE996
split-complementary
#5A65E9 #E9965A #ACE95A
monochromatic
#1823B1 #2433E2 #5A65E9 #9097F0 #C6CAF7

Accessibility & contrast

On white

4.70
#5A65E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5A65E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65E9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65E9#FFFFFF#000000##FFFFFF
##5A65E91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a65e9;
/* rgb */ color: rgb(90, 101, 233);
/* oklch */ color: oklch(57.2% 0.197 274.7);
Tailwind
colors: {
  custom: {
    50: '#9690f1',
    500: '#5a65e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a65e9;
$custom-light: #9690f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65e9",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 233
  },
  "hsl": {
    "h": 235.385,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57179,
    "c": 0.19691,
    "h": 274.7
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#5A65E9
secondary
#E9E5B6
accent
#C90DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A65E9

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

Preview Lab → · Contrast checker → · Palette generator →

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