#5E5BAF#5E5BAF

#5E5BAF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.130 H 282.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5E5BAF
RGBrgb(94, 91, 175)
HSLhsl(242, 34%, 52%)
HSVhsv(242, 48%, 69%)
CMYKcmyk(46.3%, 48%, 0%, 31.4%)
CIE-LABlab(42.70, 23.60, -44.62)
CIE-LCHlch(42.70, 50.48, 297.88°)
OKLaboklab(51.53% 0.028 -0.1266)
OKLCHoklch(51.53% 0.13 282.5)
XYZxyz(16.0927, 12.9562, 42.2020)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BAF #ACAF5B
analogous
#5B82AF #5E5BAF #885BAF
triadic
#5E5BAF #AF5E5B #5BAF5E
tetradic
#5E5BAF #AF5B82 #ACAF5B #5BAF88
square
#5E5BAF #AF5B82 #ACAF5B #5BAF88
split-complementary
#5E5BAF #AF885B #82AF5B
monochromatic
#312F61 #46438A #5E5BAF #8684C3 #AFADD7

Accessibility & contrast

On white

5.85
#5E5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5E5BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BAF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BAF#FFFFFF#000000##FFFFFF
##5E5BAF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#3362AD
Tritanopia (blue-blind)
#436D7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e5baf;
/* rgb */ color: rgb(94, 91, 175);
/* oklch */ color: oklch(51.5% 0.130 282.5);
Tailwind
colors: {
  custom: {
    50: '#9089c7',
    500: '#5e5baf',
    950: '#000000',
  },
}
SCSS
$custom: #5e5baf;
$custom-light: #9089c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5baf",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 242.143,
    "s": 34.426,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.12969,
    "h": 282.5
  },
  "luminance": 0.12957
}

Semantic roles & 50–950 ramp

primary
#5E5BAF
secondary
#C4C5A1
accent
#CB5DC7
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5E5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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