#5E6FD5#5E6FD5

#5E6FD5 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.156 H 273.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5E6FD5
RGBrgb(94, 111, 213)
HSLhsl(231, 59%, 60%)
HSVhsv(231, 56%, 84%)
CMYKcmyk(55.9%, 47.9%, 0%, 16.5%)
CIE-LABlab(50.16, 23.25, -54.63)
CIE-LCHlch(50.16, 59.38, 293.06°)
OKLaboklab(57.91% 0.0093 -0.1559)
OKLCHoklch(57.91% 0.156 273.4)
XYZxyz(22.3069, 18.5511, 65.3431)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6FD5 #D5C45E
analogous
#5EAAD5 #5E6FD5 #895ED5
triadic
#5E6FD5 #D55E6F #6FD55E
tetradic
#5E6FD5 #D55EAA #D5C45E #5ED589
square
#5E6FD5 #D55EAA #D5C45E #5ED589
split-complementary
#5E6FD5 #D5895E #AAD55E
monochromatic
#263692 #3347C3 #5E6FD5 #8F9AE2 #BFC6EE

Accessibility & contrast

On white

4.46
#5E6FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5E6FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6FD5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6FD5#FFFFFF#000000##000000
##5E6FD51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DD9
Deuteranopia (green-blind)
#2D72D3
Tritanopia (blue-blind)
#188698
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5e6fd5;
/* rgb */ color: rgb(94, 111, 213);
/* oklch */ color: oklch(57.9% 0.156 273.4);
Tailwind
colors: {
  custom: {
    50: '#9498e2',
    500: '#5e6fd5',
    950: '#000000',
  },
}
SCSS
$custom: #5e6fd5;
$custom-light: #9498e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6fd5",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 231.429,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.15617,
    "h": 273.4
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#5E6FD5
secondary
#DED8B1
accent
#AE1FC6
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5E6FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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