#5E6FE6#5E6FE6

#5E6FE6 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.179 H 273.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5E6FE6
RGBrgb(94, 111, 230)
HSLhsl(233, 73%, 64%)
HSVhsv(233, 59%, 90%)
CMYKcmyk(59.1%, 51.7%, 0%, 9.8%)
CIE-LABlab(51.22, 28.80, -62.53)
CIE-LCHlch(51.22, 68.84, 294.73°)
OKLaboklab(59.06% 0.011 -0.1791)
OKLCHoklch(59.06% 0.179 273.5)
XYZxyz(24.5788, 19.4598, 77.3085)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6FE6 #E6D55E
analogous
#5EB3E6 #5E6FE6 #915EE6
triadic
#5E6FE6 #E65E6F #6FE65E
tetradic
#5E6FE6 #E65EB3 #E6D55E #5EE691
square
#5E6FE6 #E65EB3 #E6D55E #5EE691
split-complementary
#5E6FE6 #E6915E #B3E65E
monochromatic
#1B2EAF #2940DE #5E6FE6 #939EEE #C8CEF6

Accessibility & contrast

On white

4.29
#5E6FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5E6FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6FE6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6FE6#FFFFFF#000000##000000
##5E6FE61.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980EA
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#008AA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e6fe6;
/* rgb */ color: rgb(94, 111, 230);
/* oklch */ color: oklch(59.1% 0.179 273.5);
Tailwind
colors: {
  custom: {
    50: '#9798ef',
    500: '#5e6fe6',
    950: '#000000',
  },
}
SCSS
$custom: #5e6fe6;
$custom-light: #9798ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6fe6",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 232.5,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59056,
    "c": 0.17944,
    "h": 273.5
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#5E6FE6
secondary
#E8E2B8
accent
#BD10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5E6FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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