#5E6DCF#5E6DCF

#5E6DCF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.1% C 0.150 H 274.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5E6DCF
RGBrgb(94, 109, 207)
HSLhsl(232, 54%, 59%)
HSVhsv(232, 55%, 81%)
CMYKcmyk(54.6%, 47.3%, 0%, 18.8%)
CIE-LABlab(49.28, 22.54, -52.63)
CIE-LCHlch(49.28, 57.25, 293.19°)
OKLaboklab(57.13% 0.0108 -0.15)
OKLCHoklch(57.13% 0.15 274.1)
XYZxyz(21.3436, 17.8205, 61.3344)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6DCF #CFC05E
analogous
#5EA6CF #5E6DCF #885ECF
triadic
#5E6DCF #CF5E6D #6DCF5E
tetradic
#5E6DCF #CF5EA6 #CFC05E #5ECF88
square
#5E6DCF #CF5EA6 #CFC05E #5ECF88
split-complementary
#5E6DCF #CF885E #A6CF5E
monochromatic
#29368A #3748B9 #5E6DCF #8D98DD #BCC3EB

Accessibility & contrast

On white

4.60
#5E6DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5E6DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6DCF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6DCF#FFFFFF#000000##FFFFFF
##5E6DCF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#3171CD
Tritanopia (blue-blind)
#248394
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e6dcf;
/* rgb */ color: rgb(94, 109, 207);
/* oklch */ color: oklch(57.1% 0.150 274.1);
Tailwind
colors: {
  custom: {
    50: '#9496de',
    500: '#5e6dcf',
    950: '#000000',
  },
}
SCSS
$custom: #5e6dcf;
$custom-light: #9496de;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6dcf",
  "rgb": {
    "r": 94,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 232.035,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.15041,
    "h": 274.1
  },
  "luminance": 0.17822
}

Semantic roles & 50–950 ramp

primary
#5E6DCF
secondary
#DBD5AE
accent
#CA4ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5E6DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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