#5E6CEE#5E6CEE

#5E6CEE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.1% C 0.194 H 274.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E6CEE
RGBrgb(94, 108, 238)
HSLhsl(234, 81%, 65%)
HSVhsv(234, 61%, 93%)
CMYKcmyk(60.5%, 54.6%, 0%, 6.7%)
CIE-LABlab(51.01, 33.26, -67.35)
CIE-LCHlch(51.01, 75.12, 296.28°)
OKLaboklab(59.07% 0.0142 -0.1933)
OKLCHoklch(59.07% 0.194 274.2)
XYZxyz(25.4062, 19.2758, 83.2541)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6CEE #EEE05E
analogous
#5EB4EE #5E6CEE #985EEE
triadic
#5E6CEE #EE5E6C #6CEE5E
tetradic
#5E6CEE #EE5EB4 #EEE05E #5EEE98
square
#5E6CEE #EE5EB4 #EEE05E #5EEE98
split-complementary
#5E6CEE #EE985E #B4EE5E
monochromatic
#1425BE #2739E8 #5E6CEE #959FF4 #CDD1FA

Accessibility & contrast

On white

4.32
#5E6CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5E6CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6CEE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6CEE#FFFFFF#000000##000000
##5E6CEE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F2
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e6cee;
/* rgb */ color: rgb(94, 108, 238);
/* oklch */ color: oklch(59.1% 0.194 274.2);
Tailwind
colors: {
  custom: {
    50: '#9896f4',
    500: '#5e6cee',
    950: '#000000',
  },
}
SCSS
$custom: #5e6cee;
$custom-light: #9896f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6cee",
  "rgb": {
    "r": 94,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 234.167,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59065,
    "c": 0.19386,
    "h": 274.2
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

primary
#5E6CEE
secondary
#ECE8BB
accent
#C908DD
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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