#5E6AEC#5E6AEC

#5E6AEC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.6% C 0.194 H 274.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5E6AEC
RGBrgb(94, 106, 236)
HSLhsl(235, 79%, 65%)
HSVhsv(235, 60%, 93%)
CMYKcmyk(60.2%, 55.1%, 0%, 7.5%)
CIE-LABlab(50.38, 33.82, -67.24)
CIE-LCHlch(50.38, 75.27, 296.70°)
OKLaboklab(58.56% 0.016 -0.193)
OKLCHoklch(58.56% 0.194 274.7)
XYZxyz(24.9055, 18.7419, 81.6457)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6AEC #ECE05E
analogous
#5EB1EC #5E6AEC #995EEC
triadic
#5E6AEC #EC5E6A #6AEC5E
tetradic
#5E6AEC #EC5EB1 #ECE05E #5EEC99
square
#5E6AEC #EC5EB1 #ECE05E #5EEC99
split-complementary
#5E6AEC #EC995E #B1EC5E
monochromatic
#1624BA #2737E6 #5E6AEC #959DF2 #CBCFF9

Accessibility & contrast

On white

4.42
#5E6AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5E6AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6AEC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6AEC#FFFFFF#000000##000000
##5E6AEC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e6aec;
/* rgb */ color: rgb(94, 106, 236);
/* oklch */ color: oklch(58.6% 0.194 274.7);
Tailwind
colors: {
  custom: {
    50: '#9894f3',
    500: '#5e6aec',
    950: '#000000',
  },
}
SCSS
$custom: #5e6aec;
$custom-light: #9894f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6aec",
  "rgb": {
    "r": 94,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 234.93,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58555,
    "c": 0.1937,
    "h": 274.7
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#5E6AEC
secondary
#EBE7BB
accent
#CA0ADB
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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