#5E65E4#5E65E4

#5E65E4 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.189 H 276.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5E65E4
RGBrgb(94, 101, 228)
HSLhsl(237, 71%, 63%)
HSVhsv(237, 59%, 89%)
CMYKcmyk(58.8%, 55.7%, 0%, 10.6%)
CIE-LABlab(48.62, 34.26, -65.60)
CIE-LCHlch(48.62, 74.01, 297.57°)
OKLaboklab(57.07% 0.0205 -0.1883)
OKLCHoklch(57.07% 0.189 276.2)
XYZxyz(23.2688, 17.2867, 75.4942)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E65E4 #E4DD5E
analogous
#5EA8E4 #5E65E4 #9A5EE4
triadic
#5E65E4 #E45E65 #65E45E
tetradic
#5E65E4 #E45EA8 #E4DD5E #5EE49A
square
#5E65E4 #E45EA8 #E4DD5E #5EE49A
split-complementary
#5E65E4 #E49A5E #A8E45E
monochromatic
#1D24AB #2A33DB #5E65E4 #9297ED #C7C9F6

Accessibility & contrast

On white

4.71
#5E65E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5E65E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E65E4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E65E4#FFFFFF#000000##FFFFFF
##5E65E41.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e65e4;
/* rgb */ color: rgb(94, 101, 228);
/* oklch */ color: oklch(57.1% 0.189 276.2);
Tailwind
colors: {
  custom: {
    50: '#9791ed',
    500: '#5e65e4',
    950: '#000000',
  },
}
SCSS
$custom: #5e65e4;
$custom-light: #9791ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5e65e4",
  "rgb": {
    "r": 94,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 236.866,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.18937,
    "h": 276.2
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#5E65E4
secondary
#E7E4B7
accent
#C912D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5E65E4

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

Preview Lab → · Contrast checker → · Palette generator →

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