#5E5BBB#5E5BBB

#5E5BBB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.147 H 281.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5E5BBB
RGBrgb(94, 91, 187)
HSLhsl(242, 41%, 55%)
HSVhsv(242, 51%, 73%)
CMYKcmyk(49.7%, 51.3%, 0%, 26.7%)
CIE-LABlab(43.43, 27.32, -50.47)
CIE-LCHlch(43.43, 57.39, 298.43°)
OKLaboklab(52.32% 0.0292 -0.1438)
OKLCHoklch(52.32% 0.147 281.5)
XYZxyz(17.3241, 13.4488, 48.6871)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BBB #B8BB5B
analogous
#5B88BB #5E5BBB #8E5BBB
triadic
#5E5BBB #BB5E5B #5BBB5E
tetradic
#5E5BBB #BB5B88 #B8BB5B #5BBB8E
square
#5E5BBB #BB5B88 #B8BB5B #5BBB8E
split-complementary
#5E5BBB #BB8E5B #88BB5B
monochromatic
#302E6E #424099 #5E5BBB #8886CD #B3B2DF

Accessibility & contrast

On white

5.69
#5E5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5E5BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BBB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BBB#FFFFFF#000000##FFFFFF
##5E5BBB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#3B7082
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e5bbb;
/* rgb */ color: rgb(94, 91, 187);
/* oklch */ color: oklch(52.3% 0.147 281.5);
Tailwind
colors: {
  custom: {
    50: '#9289d0',
    500: '#5e5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bbb;
$custom-light: #9289d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bbb",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 241.875,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.14674,
    "h": 281.5
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#5E5BBB
secondary
#CCCDA5
accent
#D157CD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5E5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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