#5A65CD#5A65CD

#5A65CD is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.159 H 275.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5A65CD
RGBrgb(90, 101, 205)
HSLhsl(234, 53%, 58%)
HSVhsv(234, 56%, 80%)
CMYKcmyk(56.1%, 50.7%, 0%, 19.6%)
CIE-LABlab(46.83, 26.03, -55.43)
CIE-LCHlch(46.83, 61.24, 295.15°)
OKLaboklab(55.17% 0.0149 -0.1584)
OKLCHoklch(55.17% 0.159 275.4)
XYZxyz(19.8860, 15.8874, 59.7644)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65CD #CDC25A
analogous
#5A9ECD #5A65CD #885ACD
triadic
#5A65CD #CD5A65 #65CD5A
tetradic
#5A65CD #CD5A9E #CDC25A #5ACD88
square
#5A65CD #CD5A9E #CDC25A #5ACD88
split-complementary
#5A65CD #CD885A #9ECD5A
monochromatic
#283184 #3642B3 #5A65CD #8991DB #B8BDE9

Accessibility & contrast

On white

5.03
#5A65CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5A65CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65CD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65CD#FFFFFF#000000##FFFFFF
##5A65CD1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#1A6ACB
Tritanopia (blue-blind)
#187C8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a65cd;
/* rgb */ color: rgb(90, 101, 205);
/* oklch */ color: oklch(55.2% 0.159 275.4);
Tailwind
colors: {
  custom: {
    50: '#9290dd',
    500: '#5a65cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a65cd;
$custom-light: #9290dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65cd",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 234.261,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55166,
    "c": 0.15914,
    "h": 275.4
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#5A65CD
secondary
#D8D4AA
accent
#CF4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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