#5B65DF#5B65DF

#5B65DF is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.5% C 0.183 H 275.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5B65DF
RGBrgb(91, 101, 223)
HSLhsl(235, 67%, 62%)
HSVhsv(235, 59%, 87%)
CMYKcmyk(59.2%, 54.7%, 0%, 12.5%)
CIE-LABlab(48.08, 32.10, -63.66)
CIE-LCHlch(48.08, 71.30, 296.76°)
OKLaboklab(56.5% 0.017 -0.1826)
OKLCHoklch(56.5% 0.183 275.3)
XYZxyz(22.2830, 16.8575, 71.8773)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65DF #DFD55B
analogous
#5BA7DF #5B65DF #935BDF
triadic
#5B65DF #DF5B65 #65DF5B
tetradic
#5B65DF #DF5BA7 #DFD55B #5BDF93
square
#5B65DF #DF5BA7 #DFD55B #5BDF93
split-complementary
#5B65DF #DF935B #A7DF5B
monochromatic
#1F29A0 #2936D4 #5B65DF #8E95E9 #C1C5F3

Accessibility & contrast

On white

4.80
#5B65DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5B65DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65DF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65DF#FFFFFF#000000##FFFFFF
##5B65DF1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0678E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b65df;
/* rgb */ color: rgb(91, 101, 223);
/* oklch */ color: oklch(56.5% 0.183 275.3);
Tailwind
colors: {
  custom: {
    50: '#9590ea',
    500: '#5b65df',
    950: '#000000',
  },
}
SCSS
$custom: #5b65df;
$custom-light: #9590ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65df",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 235.455,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.18341,
    "h": 275.3
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#5B65DF
secondary
#E3E0B2
accent
#C116CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B65DF

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

Preview Lab → · Contrast checker → · Palette generator →

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