#5E5EA2#5E5EA2

#5E5EA2 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.3% C 0.106 H 282.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5E5EA2
RGBrgb(94, 94, 162)
HSLhsl(240, 27%, 50%)
HSVhsv(240, 42%, 64%)
CMYKcmyk(42%, 42%, 0%, 36.5%)
CIE-LABlab(42.75, 17.79, -36.85)
CIE-LCHlch(42.75, 40.92, 295.76°)
OKLaboklab(51.33% 0.0221 -0.1039)
OKLCHoklch(51.33% 0.106 282)
XYZxyz(15.1385, 12.9931, 35.8857)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EA2 #A2A25E
analogous
#5E80A2 #5E5EA2 #805EA2
triadic
#5E5EA2 #A25E5E #5EA25E
tetradic
#5E5EA2 #A25E80 #A2A25E #5EA280
square
#5E5EA2 #A25E80 #A2A25E #5EA280
split-complementary
#5E5EA2 #A2805E #80A25E
monochromatic
#313155 #47477B #5E5EA2 #8585B8 #ACACCF

Accessibility & contrast

On white

5.84
#5E5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5E5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5EA2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5EA2#FFFFFF#000000##FFFFFF
##5E5EA21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#4263A0
Tritanopia (blue-blind)
#496C78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e5ea2;
/* rgb */ color: rgb(94, 94, 162);
/* oklch */ color: oklch(51.3% 0.106 282.0);
Tailwind
colors: {
  custom: {
    50: '#8f8bbe',
    500: '#5e5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ea2;
$custom-light: #8f8bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ea2",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.10622,
    "h": 282
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#5E5EA2
secondary
#BDBD9F
accent
#C365C3
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0D0C12
muted
#7D7D81

Preview Lab

Preview with #5E5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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