#5E6BD2#5E6BD2

#5E6BD2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.9% C 0.157 H 274.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5E6BD2
RGBrgb(94, 107, 210)
HSLhsl(233, 56%, 60%)
HSVhsv(233, 55%, 82%)
CMYKcmyk(55.2%, 49%, 0%, 17.6%)
CIE-LABlab(48.94, 24.74, -54.88)
CIE-LCHlch(48.94, 60.20, 294.27°)
OKLaboklab(56.93% 0.0133 -0.1567)
OKLCHoklch(56.93% 0.157 274.9)
XYZxyz(21.5029, 17.5467, 63.2140)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6BD2 #D2C55E
analogous
#5EA5D2 #5E6BD2 #8B5ED2
triadic
#5E6BD2 #D25E6B #6BD25E
tetradic
#5E6BD2 #D25EA5 #D2C55E #5ED28B
square
#5E6BD2 #D25EA5 #D2C55E #5ED28B
split-complementary
#5E6BD2 #D28B5E #A5D25E
monochromatic
#28338E #3544BE #5E6BD2 #8E97DF #BEC3ED

Accessibility & contrast

On white

4.66
#5E6BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5E6BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6BD2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6BD2#FFFFFF#000000##FFFFFF
##5E6BD21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3879D6
Deuteranopia (green-blind)
#2770D0
Tritanopia (blue-blind)
#1F8294
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e6bd2;
/* rgb */ color: rgb(94, 107, 210);
/* oklch */ color: oklch(56.9% 0.157 274.9);
Tailwind
colors: {
  custom: {
    50: '#9495e0',
    500: '#5e6bd2',
    950: '#000000',
  },
}
SCSS
$custom: #5e6bd2;
$custom-light: #9495e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6bd2",
  "rgb": {
    "r": 94,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 233.276,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.15721,
    "h": 274.9
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#5E6BD2
secondary
#DCD7AF
accent
#CF48E0
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5E6BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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