#5E6FEC#5E6FEC

#5E6FEC is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.5% C 0.187 H 273.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E6FEC
RGBrgb(94, 111, 236)
HSLhsl(233, 79%, 65%)
HSVhsv(233, 60%, 93%)
CMYKcmyk(60.2%, 53%, 0%, 7.5%)
CIE-LABlab(51.61, 30.77, -65.26)
CIE-LCHlch(51.61, 72.15, 295.25°)
OKLaboklab(59.48% 0.0113 -0.1871)
OKLCHoklch(59.48% 0.187 273.5)
XYZxyz(25.4359, 19.8027, 81.8225)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6FEC #ECDB5E
analogous
#5EB6EC #5E6FEC #945EEC
triadic
#5E6FEC #EC5E6F #6FEC5E
tetradic
#5E6FEC #EC5EB6 #ECDB5E #5EEC94
square
#5E6FEC #EC5EB6 #ECDB5E #5EEC94
split-complementary
#5E6FEC #EC945E #B6EC5E
monochromatic
#162ABA #273EE6 #5E6FEC #95A0F2 #CBD1F9

Accessibility & contrast

On white

4.23
#5E6FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5E6FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6FEC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6FEC#FFFFFF#000000##000000
##5E6FEC1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81F0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e6fec;
/* rgb */ color: rgb(94, 111, 236);
/* oklch */ color: oklch(59.5% 0.187 273.5);
Tailwind
colors: {
  custom: {
    50: '#9898f3',
    500: '#5e6fec',
    950: '#000000',
  },
}
SCSS
$custom: #5e6fec;
$custom-light: #9898f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6fec",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 232.817,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59476,
    "c": 0.18748,
    "h": 273.5
  },
  "luminance": 0.19805
}

Semantic roles & 50–950 ramp

primary
#5E6FEC
secondary
#EBE5BB
accent
#C20ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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