#5A65DD#5A65DD

#5A65DD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.3% C 0.181 H 275.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5A65DD
RGBrgb(90, 101, 221)
HSLhsl(235, 66%, 61%)
HSVhsv(235, 59%, 87%)
CMYKcmyk(59.3%, 54.3%, 0%, 13.3%)
CIE-LABlab(47.88, 31.27, -62.85)
CIE-LCHlch(47.88, 70.20, 296.45°)
OKLaboklab(56.29% 0.0159 -0.1803)
OKLCHoklch(56.29% 0.181 275)
XYZxyz(21.9170, 16.6998, 70.4610)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65DD #DDD25A
analogous
#5AA6DD #5A65DD #905ADD
triadic
#5A65DD #DD5A65 #65DD5A
tetradic
#5A65DD #DD5AA6 #DDD25A #5ADD90
square
#5A65DD #DD5AA6 #DDD25A #5ADD90
split-complementary
#5A65DD #DD905A #A6DD5A
monochromatic
#202B9C #2B38CF #5A65DD #8D94E7 #BFC4F2

Accessibility & contrast

On white

4.84
#5A65DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5A65DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65DD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65DD#FFFFFF#000000##FFFFFF
##5A65DD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E77E1
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a65dd;
/* rgb */ color: rgb(90, 101, 221);
/* oklch */ color: oklch(56.3% 0.181 275.0);
Tailwind
colors: {
  custom: {
    50: '#9490e8',
    500: '#5a65dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a65dd;
$custom-light: #9490e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65dd",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 234.962,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.18098,
    "h": 275
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#5A65DD
secondary
#E2DEB1
accent
#BE18CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A65DD

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

Preview Lab → · Contrast checker → · Palette generator →

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