#5E6CEC#5E6CEC

#5E6CEC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.9% C 0.191 H 274.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5E6CEC
RGBrgb(94, 108, 236)
HSLhsl(234, 79%, 65%)
HSVhsv(234, 60%, 93%)
CMYKcmyk(60.2%, 54.2%, 0%, 7.5%)
CIE-LABlab(50.87, 32.60, -66.45)
CIE-LCHlch(50.87, 74.02, 296.13°)
OKLaboklab(58.92% 0.0142 -0.1907)
OKLCHoklch(58.92% 0.191 274.2)
XYZxyz(25.1140, 19.1589, 81.7152)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6CEC #ECDE5E
analogous
#5EB3EC #5E6CEC #975EEC
triadic
#5E6CEC #EC5E6C #6CEC5E
tetradic
#5E6CEC #EC5EB3 #ECDE5E #5EEC97
square
#5E6CEC #EC5EB3 #ECDE5E #5EEC97
split-complementary
#5E6CEC #EC975E #B3EC5E
monochromatic
#1626BA #273AE6 #5E6CEC #959EF2 #CBD0F9

Accessibility & contrast

On white

4.35
#5E6CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5E6CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6CEC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6CEC#FFFFFF#000000##000000
##5E6CEC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7FF0
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e6cec;
/* rgb */ color: rgb(94, 108, 236);
/* oklch */ color: oklch(58.9% 0.191 274.2);
Tailwind
colors: {
  custom: {
    50: '#9896f3',
    500: '#5e6cec',
    950: '#000000',
  },
}
SCSS
$custom: #5e6cec;
$custom-light: #9896f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6cec",
  "rgb": {
    "r": 94,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 234.085,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.19122,
    "h": 274.2
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#5E6CEC
secondary
#EBE6BB
accent
#C70ADB
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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