#5C65D2#5C65D2

#5C65D2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.6% C 0.166 H 276.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5C65D2
RGBrgb(92, 101, 210)
HSLhsl(235, 57%, 59%)
HSVhsv(235, 56%, 82%)
CMYKcmyk(56.2%, 51.9%, 0%, 17.6%)
CIE-LABlab(47.28, 28.05, -57.56)
CIE-LCHlch(47.28, 64.03, 295.98°)
OKLaboklab(55.65% 0.0175 -0.1646)
OKLCHoklch(55.65% 0.166 276.1)
XYZxyz(20.6964, 16.2344, 63.0032)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C65D2 #D2C95C
analogous
#5CA0D2 #5C65D2 #8E5CD2
triadic
#5C65D2 #D25C65 #65D25C
tetradic
#5C65D2 #D25CA0 #D2C95C #5CD28E
square
#5C65D2 #D25CA0 #D2C95C #5CD28E
split-complementary
#5C65D2 #D28E5C #A0D25C
monochromatic
#272F8D #343FBD #5C65D2 #8C92DF #BCC0EC

Accessibility & contrast

On white

4.94
#5C65D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5C65D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C65D2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C65D2#FFFFFF#000000##FFFFFF
##5C65D21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2875D6
Deuteranopia (green-blind)
#0E6BD0
Tritanopia (blue-blind)
#187E92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c65d2;
/* rgb */ color: rgb(92, 101, 210);
/* oklch */ color: oklch(55.6% 0.166 276.1);
Tailwind
colors: {
  custom: {
    50: '#9390e0',
    500: '#5c65d2',
    950: '#000000',
  },
}
SCSS
$custom: #5c65d2;
$custom-light: #9390e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c65d2",
  "rgb": {
    "r": 92,
    "g": 101,
    "b": 210
  },
  "hsl": {
    "h": 235.424,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.16555,
    "h": 276.1
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#5C65D2
secondary
#DCD8AE
accent
#D448E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5C65D2

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

Preview Lab → · Contrast checker → · Palette generator →

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