#5E65D5#5E65D5

#5E65D5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.169 H 276.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5E65D5
RGBrgb(94, 101, 213)
HSLhsl(236, 59%, 60%)
HSVhsv(236, 56%, 84%)
CMYKcmyk(55.9%, 52.6%, 0%, 16.5%)
CIE-LABlab(47.61, 29.41, -58.73)
CIE-LCHlch(47.61, 65.68, 296.60°)
OKLaboklab(55.99% 0.0199 -0.168)
OKLCHoklch(55.99% 0.169 276.8)
XYZxyz(21.2762, 16.4897, 64.9996)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E65D5 #D5CE5E
analogous
#5EA0D5 #5E65D5 #935ED5
triadic
#5E65D5 #D55E65 #65D55E
tetradic
#5E65D5 #D55EA0 #D5CE5E #5ED593
square
#5E65D5 #D55EA0 #D5CE5E #5ED593
split-complementary
#5E65D5 #D5935E #A0D55E
monochromatic
#262D92 #333BC3 #5E65D5 #8F93E2 #BFC2EE

Accessibility & contrast

On white

4.89
#5E65D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5E65D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E65D5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E65D5#FFFFFF#000000##FFFFFF
##5E65D51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2476D9
Deuteranopia (green-blind)
#056CD3
Tritanopia (blue-blind)
#1C7F93
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e65d5;
/* rgb */ color: rgb(94, 101, 213);
/* oklch */ color: oklch(56.0% 0.169 276.8);
Tailwind
colors: {
  custom: {
    50: '#9590e3',
    500: '#5e65d5',
    950: '#000000',
  },
}
SCSS
$custom: #5e65d5;
$custom-light: #9590e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e65d5",
  "rgb": {
    "r": 94,
    "g": 101,
    "b": 213
  },
  "hsl": {
    "h": 236.471,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5599,
    "c": 0.16921,
    "h": 276.8
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

primary
#5E65D5
secondary
#DEDCB1
accent
#BC1FC6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #5E65D5

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

Preview Lab → · Contrast checker → · Palette generator →

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