#5B65EB#5B65EB

#5B65EB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.4% C 0.199 H 275.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5B65EB
RGBrgb(91, 101, 235)
HSLhsl(236, 78%, 64%)
HSVhsv(236, 61%, 92%)
CMYKcmyk(61.3%, 57%, 0%, 7.8%)
CIE-LABlab(48.92, 36.03, -69.07)
CIE-LCHlch(48.92, 77.90, 297.55°)
OKLaboklab(57.39% 0.0173 -0.1985)
OKLCHoklch(57.39% 0.199 275)
XYZxyz(23.9585, 17.5277, 80.7018)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65EB #EBE15B
analogous
#5BADEB #5B65EB #995BEB
triadic
#5B65EB #EB5B65 #65EB5B
tetradic
#5B65EB #EB5BAD #EBE15B #5BEB99
square
#5B65EB #EB5BAD #EBE15B #5BEB99
split-complementary
#5B65EB #EB995B #ADEB5B
monochromatic
#1621B5 #2432E4 #5B65EB #9298F2 #C8CBF8

Accessibility & contrast

On white

4.66
#5B65EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5B65EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65EB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65EB#FFFFFF#000000##FFFFFF
##5B65EB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b65eb;
/* rgb */ color: rgb(91, 101, 235);
/* oklch */ color: oklch(57.4% 0.199 275.0);
Tailwind
colors: {
  custom: {
    50: '#9791f2',
    500: '#5b65eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b65eb;
$custom-light: #9791f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65eb",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 235.833,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.19928,
    "h": 275
  },
  "luminance": 0.1753
}

Semantic roles & 50–950 ramp

primary
#5B65EB
secondary
#EAE7B8
accent
#CC0BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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