#5A65DA#5A65DA

#5A65DA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.1% C 0.177 H 275.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5A65DA
RGBrgb(90, 101, 218)
HSLhsl(235, 63%, 60%)
HSVhsv(235, 59%, 85%)
CMYKcmyk(58.7%, 53.7%, 0%, 14.5%)
CIE-LABlab(47.68, 30.28, -61.48)
CIE-LCHlch(47.68, 68.53, 296.22°)
OKLaboklab(56.08% 0.0157 -0.1762)
OKLCHoklch(56.08% 0.177 275.1)
XYZxyz(21.5209, 16.5413, 68.3748)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65DA #DACF5A
analogous
#5AA5DA #5A65DA #8F5ADA
triadic
#5A65DA #DA5A65 #65DA5A
tetradic
#5A65DA #DA5AA5 #DACF5A #5ADA8F
square
#5A65DA #DA5AA5 #DACF5A #5ADA8F
split-complementary
#5A65DA #DA8F5A #A5DA5A
monochromatic
#222C98 #2D3BCA #5A65DA #8C94E5 #BEC2F0

Accessibility & contrast

On white

4.87
#5A65DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5A65DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65DA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65DA#FFFFFF#000000##FFFFFF
##5A65DA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1877DE
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a65da;
/* rgb */ color: rgb(90, 101, 218);
/* oklch */ color: oklch(56.1% 0.177 275.1);
Tailwind
colors: {
  custom: {
    50: '#9490e6',
    500: '#5a65da',
    950: '#000000',
  },
}
SCSS
$custom: #5a65da;
$custom-light: #9490e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65da",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 218
  },
  "hsl": {
    "h": 234.844,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.17693,
    "h": 275.1
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#5A65DA
secondary
#E0DCAF
accent
#BC1ACB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A65DA

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

Preview Lab → · Contrast checker → · Palette generator →

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