#5A65CF#5A65CF

#5A65CF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.162 H 275.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5A65CF
RGBrgb(90, 101, 207)
HSLhsl(234, 55%, 58%)
HSVhsv(234, 57%, 81%)
CMYKcmyk(56.5%, 51.2%, 0%, 18.8%)
CIE-LABlab(46.95, 26.68, -56.37)
CIE-LCHlch(46.95, 62.37, 295.33°)
OKLaboklab(55.3% 0.015 -0.1612)
OKLCHoklch(55.3% 0.162 275.3)
XYZxyz(20.1290, 15.9846, 61.0440)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65CF #CFC45A
analogous
#5A9FCF #5A65CF #895ACF
triadic
#5A65CF #CF5A65 #65CF5A
tetradic
#5A65CF #CF5A9F #CFC45A #5ACF89
square
#5A65CF #CF5A9F #CFC45A #5ACF89
split-complementary
#5A65CF #CF895A #9FCF5A
monochromatic
#273087 #3541B7 #5A65CF #8991DD #B9BDEB

Accessibility & contrast

On white

5.00
#5A65CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5A65CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65CF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65CF#FFFFFF#000000##FFFFFF
##5A65CF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D3
Deuteranopia (green-blind)
#156BCD
Tritanopia (blue-blind)
#147D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a65cf;
/* rgb */ color: rgb(90, 101, 207);
/* oklch */ color: oklch(55.3% 0.162 275.3);
Tailwind
colors: {
  custom: {
    50: '#9290de',
    500: '#5a65cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a65cf;
$custom-light: #9290de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65cf",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 234.359,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55303,
    "c": 0.1619,
    "h": 275.3
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

primary
#5A65CF
secondary
#DAD5AB
accent
#D04ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A65CF

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

Preview Lab → · Contrast checker → · Palette generator →

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