#5E5BCB#5E5BCB

#5E5BCB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.169 H 280.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E5BCB
RGBrgb(94, 91, 203)
HSLhsl(242, 52%, 58%)
HSVhsv(242, 55%, 80%)
CMYKcmyk(53.7%, 55.2%, 0%, 20.4%)
CIE-LABlab(44.48, 32.35, -58.05)
CIE-LCHlch(44.48, 66.46, 299.13°)
OKLaboklab(53.44% 0.03 -0.1661)
OKLCHoklch(53.44% 0.169 280.2)
XYZxyz(19.1333, 14.1725, 58.2157)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BCB #C8CB5B
analogous
#5B90CB #5E5BCB #965BCB
triadic
#5E5BCB #CB5E5B #5BCB5E
tetradic
#5E5BCB #CB5B90 #C8CB5B #5BCB96
square
#5E5BCB #CB5B90 #C8CB5B #5BCB96
split-complementary
#5E5BCB #CB965B #90CB5B
monochromatic
#2C2982 #3B38B1 #5E5BCB #8C89DA #B9B8E8

Accessibility & contrast

On white

5.48
#5E5BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5E5BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BCB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BCB#FFFFFF#000000##FFFFFF
##5E5BCB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6DCF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#2D758A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e5bcb;
/* rgb */ color: rgb(94, 91, 203);
/* oklch */ color: oklch(53.4% 0.169 280.2);
Tailwind
colors: {
  custom: {
    50: '#9489dc',
    500: '#5e5bcb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bcb;
$custom-light: #9489dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bcb",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 241.607,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.16881,
    "h": 280.2
  },
  "luminance": 0.14174
}

Semantic roles & 50–950 ramp

primary
#5E5BCB
secondary
#D6D7AA
accent
#DB4CD7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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