#5A65CC#5A65CC

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

Color values

HEX#5A65CC
RGBrgb(90, 101, 204)
HSLhsl(234, 53%, 58%)
HSVhsv(234, 56%, 80%)
CMYKcmyk(55.9%, 50.5%, 0%, 20%)
CIE-LABlab(46.76, 25.70, -54.96)
CIE-LCHlch(46.76, 60.67, 295.06°)
OKLaboklab(55.1% 0.0148 -0.157)
OKLCHoklch(55.1% 0.158 275.4)
XYZxyz(19.7657, 15.8393, 59.1308)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A65CC #CCC15A
analogous
#5A9ECC #5A65CC #885ACC
triadic
#5A65CC #CC5A65 #65CC5A
tetradic
#5A65CC #CC5A9E #CCC15A #5ACC88
square
#5A65CC #CC5A9E #CCC15A #5ACC88
split-complementary
#5A65CC #CC885A #9ECC5A
monochromatic
#293183 #3743B2 #5A65CC #8991DA #B7BCE9

Accessibility & contrast

On white

5.04
#5A65CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5A65CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A65CC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A65CC#FFFFFF#000000##FFFFFF
##5A65CC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#1C6ACA
Tritanopia (blue-blind)
#1A7C8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a65cc;
/* rgb */ color: rgb(90, 101, 204);
/* oklch */ color: oklch(55.1% 0.158 275.4);
Tailwind
colors: {
  custom: {
    50: '#9190dc',
    500: '#5a65cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a65cc;
$custom-light: #9190dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a65cc",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 234.211,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.15774,
    "h": 275.4
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#5A65CC
secondary
#D8D3AA
accent
#CE4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A65CC

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

Preview Lab → · Contrast checker → · Palette generator →

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