#5E6BC2#5E6BC2

#5E6BC2 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.9% C 0.135 H 274.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5E6BC2
RGBrgb(94, 107, 194)
HSLhsl(232, 45%, 56%)
HSVhsv(232, 52%, 76%)
CMYKcmyk(51.5%, 44.8%, 0%, 23.9%)
CIE-LABlab(47.99, 19.61, -47.23)
CIE-LCHlch(47.99, 51.14, 292.55°)
OKLaboklab(55.91% 0.0113 -0.1342)
OKLCHoklch(55.91% 0.135 274.8)
XYZxyz(19.6083, 16.7889, 53.2358)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6BC2 #C2B55E
analogous
#5E9DC2 #5E6BC2 #835EC2
triadic
#5E6BC2 #C25E6B #6BC25E
tetradic
#5E6BC2 #C25E9D #C2B55E #5EC283
square
#5E6BC2 #C25E9D #C2B55E #5EC283
split-complementary
#5E6BC2 #C2835E #9DC25E
monochromatic
#2E3778 #3E4CA4 #5E6BC2 #8A94D3 #B7BDE4

Accessibility & contrast

On white

4.82
#5E6BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5E6BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6BC2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6BC2#FFFFFF#000000##FFFFFF
##5E6BC21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#3C6EC0
Tritanopia (blue-blind)
#337E8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e6bc2;
/* rgb */ color: rgb(94, 107, 194);
/* oklch */ color: oklch(55.9% 0.135 274.8);
Tailwind
colors: {
  custom: {
    50: '#9295d5',
    500: '#5e6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #5e6bc2;
$custom-light: #9295d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6bc2",
  "rgb": {
    "r": 94,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 232.2,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55905,
    "c": 0.13465,
    "h": 274.8
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#5E6BC2
secondary
#D2CDA9
accent
#C453D5
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5E6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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