#5E6FE1#5E6FE1

#5E6FE1 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.7% C 0.173 H 273.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5E6FE1
RGBrgb(94, 111, 225)
HSLhsl(232, 69%, 63%)
HSVhsv(232, 58%, 88%)
CMYKcmyk(58.2%, 50.7%, 0%, 11.8%)
CIE-LABlab(50.90, 27.17, -60.23)
CIE-LCHlch(50.90, 66.07, 294.28°)
OKLaboklab(58.71% 0.0106 -0.1723)
OKLCHoklch(58.71% 0.173 273.5)
XYZxyz(23.8867, 19.1830, 73.6635)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6FE1 #E1D05E
analogous
#5EB0E1 #5E6FE1 #8F5EE1
triadic
#5E6FE1 #E15E6F #6FE15E
tetradic
#5E6FE1 #E15EB0 #E1D05E #5EE18F
square
#5E6FE1 #E15EB0 #E1D05E #5EE18F
split-complementary
#5E6FE1 #E18F5E #B0E15E
monochromatic
#1F30A6 #2A41D7 #5E6FE1 #929DEB #C5CBF4

Accessibility & contrast

On white

4.34
#5E6FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5E6FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6FE1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6FE1#FFFFFF#000000##000000
##5E6FE11.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#307FE5
Deuteranopia (green-blind)
#1274DF
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e6fe1;
/* rgb */ color: rgb(94, 111, 225);
/* oklch */ color: oklch(58.7% 0.173 273.5);
Tailwind
colors: {
  custom: {
    50: '#9698eb',
    500: '#5e6fe1',
    950: '#000000',
  },
}
SCSS
$custom: #5e6fe1;
$custom-light: #9698eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6fe1",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 225
  },
  "hsl": {
    "h": 232.214,
    "s": 68.586,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58712,
    "c": 0.17267,
    "h": 273.5
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#5E6FE1
secondary
#E5DFB6
accent
#B815D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5E6FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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