#5E6BEA#5E6BEA

#5E6BEA is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.6% C 0.190 H 274.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5E6BEA
RGBrgb(94, 107, 234)
HSLhsl(234, 77%, 64%)
HSVhsv(234, 60%, 92%)
CMYKcmyk(59.8%, 54.3%, 0%, 8.2%)
CIE-LABlab(50.49, 32.56, -65.95)
CIE-LCHlch(50.49, 73.55, 296.27°)
OKLaboklab(58.59% 0.015 -0.1892)
OKLCHoklch(58.59% 0.19 274.5)
XYZxyz(24.7202, 18.8336, 80.1585)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6BEA #EADD5E
analogous
#5EB1EA #5E6BEA #975EEA
triadic
#5E6BEA #EA5E6B #6BEA5E
tetradic
#5E6BEA #EA5EB1 #EADD5E #5EEA97
square
#5E6BEA #EA5EB1 #EADD5E #5EEA97
split-complementary
#5E6BEA #EA975E #B1EA5E
monochromatic
#1826B6 #2839E3 #5E6BEA #949DF1 #CACFF8

Accessibility & contrast

On white

4.41
#5E6BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5E6BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6BEA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6BEA#FFFFFF#000000##000000
##5E6BEA1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7EEE
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e6bea;
/* rgb */ color: rgb(94, 107, 234);
/* oklch */ color: oklch(58.6% 0.190 274.5);
Tailwind
colors: {
  custom: {
    50: '#9895f2',
    500: '#5e6bea',
    950: '#000000',
  },
}
SCSS
$custom: #5e6bea;
$custom-light: #9895f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6bea",
  "rgb": {
    "r": 94,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 234.429,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58593,
    "c": 0.18981,
    "h": 274.5
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#5E6BEA
secondary
#EAE6BA
accent
#C60CD9
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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