#5B65EA#5B65EA

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

Color values

HEX#5B65EA
RGBrgb(91, 101, 234)
HSLhsl(236, 77%, 64%)
HSVhsv(236, 61%, 92%)
CMYKcmyk(61.1%, 56.8%, 0%, 8.2%)
CIE-LABlab(48.85, 35.70, -68.62)
CIE-LCHlch(48.85, 77.35, 297.49°)
OKLaboklab(57.32% 0.0173 -0.1972)
OKLCHoklch(57.32% 0.198 275)
XYZxyz(23.8145, 17.4701, 79.9431)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65EA #EAE05B
analogous
#5BACEA #5B65EA #985BEA
triadic
#5B65EA #EA5B65 #65EA5B
tetradic
#5B65EA #EA5BAC #EAE05B #5BEA98
square
#5B65EA #EA5BAC #EAE05B #5BEA98
split-complementary
#5B65EA #EA985B #ACEA5B
monochromatic
#1722B4 #2532E3 #5B65EA #9198F1 #C8CBF8

Accessibility & contrast

On white

4.67
#5B65EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5B65EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65EA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65EA#FFFFFF#000000##FFFFFF
##5B65EA1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b65ea;
/* rgb */ color: rgb(91, 101, 234);
/* oklch */ color: oklch(57.3% 0.198 275.0);
Tailwind
colors: {
  custom: {
    50: '#9791f2',
    500: '#5b65ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b65ea;
$custom-light: #9791f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65ea",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 235.804,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.19797,
    "h": 275
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#5B65EA
secondary
#EAE6B7
accent
#CB0CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B65EA

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

Preview Lab → · Contrast checker → · Palette generator →

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