#5E65BC#5E65BC

#5E65BC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.134 H 277.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5E65BC
RGBrgb(94, 101, 188)
HSLhsl(236, 41%, 55%)
HSVhsv(236, 50%, 74%)
CMYKcmyk(50%, 46.3%, 0%, 26.3%)
CIE-LABlab(46.07, 21.43, -46.83)
CIE-LCHlch(46.07, 51.50, 294.59°)
OKLaboklab(54.33% 0.0175 -0.1331)
OKLCHoklch(54.33% 0.134 277.5)
XYZxyz(18.3441, 15.3168, 49.5570)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E65BC #BCB55E
analogous
#5E94BC #5E65BC #865EBC
triadic
#5E65BC #BC5E65 #65BC5E
tetradic
#5E65BC #BC5E94 #BCB55E #5EBC86
square
#5E65BC #BC5E94 #BCB55E #5EBC86
split-complementary
#5E65BC #BC865E #94BC5E
monochromatic
#2F3471 #41489C #5E65BC #898ECE #B4B8E0

Accessibility & contrast

On white

5.17
#5E65BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5E65BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E65BC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E65BC#FFFFFF#000000##FFFFFF
##5E65BC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#376ABA
Tritanopia (blue-blind)
#397887
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e65bc;
/* rgb */ color: rgb(94, 101, 188);
/* oklch */ color: oklch(54.3% 0.134 277.5);
Tailwind
colors: {
  custom: {
    50: '#9290d1',
    500: '#5e65bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e65bc;
$custom-light: #9290d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e65bc",
  "rgb": {
    "r": 94,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 235.532,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54328,
    "c": 0.13422,
    "h": 277.5
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#5E65BC
secondary
#CFCCA7
accent
#C857D1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5E65BC

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

Preview Lab → · Contrast checker → · Palette generator →

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