#5E6EC7#5E6EC7

#5E6EC7 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.8% C 0.138 H 273.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5E6EC7
RGBrgb(94, 110, 199)
HSLhsl(231, 48%, 57%)
HSVhsv(231, 53%, 78%)
CMYKcmyk(52.8%, 44.7%, 0%, 22%)
CIE-LABlab(49.07, 19.35, -48.38)
CIE-LCHlch(49.07, 52.10, 291.80°)
OKLaboklab(56.82% 0.0086 -0.1375)
OKLCHoklch(56.82% 0.138 273.6)
XYZxyz(20.4975, 17.6537, 56.3492)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6EC7 #C7B75E
analogous
#5EA3C7 #5E6EC7 #825EC7
triadic
#5E6EC7 #C75E6E #6EC75E
tetradic
#5E6EC7 #C75EA3 #C7B75E #5EC782
square
#5E6EC7 #C75EA3 #C7B75E #5EC782
split-complementary
#5E6EC7 #C7825E #A3C75E
monochromatic
#2C397F #3C4DAC #5E6EC7 #8B97D7 #B9C0E7

Accessibility & contrast

On white

4.63
#5E6EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5E6EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6EC7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6EC7#FFFFFF#000000##FFFFFF
##5E6EC71.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4879CA
Deuteranopia (green-blind)
#3C70C5
Tritanopia (blue-blind)
#2D8191
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e6ec7;
/* rgb */ color: rgb(94, 110, 199);
/* oklch */ color: oklch(56.8% 0.138 273.6);
Tailwind
colors: {
  custom: {
    50: '#9397d8',
    500: '#5e6ec7',
    950: '#000000',
  },
}
SCSS
$custom: #5e6ec7;
$custom-light: #9397d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6ec7",
  "rgb": {
    "r": 94,
    "g": 110,
    "b": 199
  },
  "hsl": {
    "h": 230.857,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.1378,
    "h": 273.6
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#5E6EC7
secondary
#D6CFAB
accent
#C350D8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #5E6EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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