#5E5BCA#5E5BCA

#5E5BCA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.4% C 0.167 H 280.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5E5BCA
RGBrgb(94, 91, 202)
HSLhsl(242, 51%, 57%)
HSVhsv(242, 55%, 79%)
CMYKcmyk(53.5%, 55%, 0%, 20.8%)
CIE-LABlab(44.41, 32.03, -57.59)
CIE-LCHlch(44.41, 65.89, 299.09°)
OKLaboklab(53.37% 0.03 -0.1647)
OKLCHoklch(53.37% 0.167 280.3)
XYZxyz(19.0145, 14.1250, 57.5901)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BCA #C7CA5B
analogous
#5B8FCA #5E5BCA #965BCA
triadic
#5E5BCA #CA5E5B #5BCA5E
tetradic
#5E5BCA #CA5B8F #C7CA5B #5BCA96
square
#5E5BCA #CA5B8F #C7CA5B #5BCA96
split-complementary
#5E5BCA #CA965B #8FCA5B
monochromatic
#2C2A81 #3C39AF #5E5BCA #8B89D9 #B9B8E8

Accessibility & contrast

On white

5.49
#5E5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E5BCA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BCA#FFFFFF#000000##FFFFFF
##5E5BCA1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126DCE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#2E748A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e5bca;
/* rgb */ color: rgb(94, 91, 202);
/* oklch */ color: oklch(53.4% 0.167 280.3);
Tailwind
colors: {
  custom: {
    50: '#9489db',
    500: '#5e5bca',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bca;
$custom-light: #9489db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bca",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 241.622,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.16745,
    "h": 280.3
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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