#5A65DC#5A65DC

#5A65DC is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.180 H 275.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5A65DC
RGBrgb(90, 101, 220)
HSLhsl(235, 65%, 61%)
HSVhsv(235, 59%, 86%)
CMYKcmyk(59.1%, 54.1%, 0%, 13.7%)
CIE-LABlab(47.81, 30.94, -62.40)
CIE-LCHlch(47.81, 69.65, 296.37°)
OKLaboklab(56.22% 0.0158 -0.1789)
OKLCHoklch(56.22% 0.18 275.1)
XYZxyz(21.7842, 16.6467, 69.7614)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65DC #DCD15A
analogous
#5AA6DC #5A65DC #905ADC
triadic
#5A65DC #DC5A65 #65DC5A
tetradic
#5A65DC #DC5AA6 #DCD15A #5ADC90
square
#5A65DC #DC5AA6 #DCD15A #5ADC90
split-complementary
#5A65DC #DC905A #A6DC5A
monochromatic
#212B9B #2C39CD #5A65DC #8C94E7 #BFC3F1

Accessibility & contrast

On white

4.85
#5A65DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5A65DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65DC#FFFFFF#000000##FFFFFF
##5A65DC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1277E0
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a65dc;
/* rgb */ color: rgb(90, 101, 220);
/* oklch */ color: oklch(56.2% 0.180 275.1);
Tailwind
colors: {
  custom: {
    50: '#9490e8',
    500: '#5a65dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a65dc;
$custom-light: #9490e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65dc",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 234.923,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.17963,
    "h": 275.1
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#5A65DC
secondary
#E2DDB0
accent
#BE19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A65DC

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

Preview Lab → · Contrast checker → · Palette generator →

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