#5E50AF#5E50AF

#5E50AF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.146 H 286.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5E50AF
RGBrgb(94, 80, 175)
HSLhsl(249, 37%, 50%)
HSVhsv(249, 54%, 69%)
CMYKcmyk(46.3%, 54.3%, 0%, 31.4%)
CIE-LABlab(39.93, 30.42, -49.05)
CIE-LCHlch(39.93, 57.72, 301.81°)
OKLaboklab(49.46% 0.0415 -0.1397)
OKLCHoklch(49.46% 0.146 286.5)
XYZxyz(15.2204, 11.2115, 41.9112)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50AF #A1AF50
analogous
#5072AF #5E50AF #8D50AF
triadic
#5E50AF #AF5E50 #50AF5E
tetradic
#5E50AF #AF5072 #A1AF50 #50AF8D
square
#5E50AF #AF5072 #A1AF50 #50AF8D
split-complementary
#5E50AF #AF8D50 #72AF50
monochromatic
#312A5B #473D85 #5E50AF #857AC2 #ABA4D5

Accessibility & contrast

On white

6.48
#5E50AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5E50AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50AF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50AF#FFFFFF#000000##FFFFFF
##5E50AF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#1D5BAD
Tritanopia (blue-blind)
#446578
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e50af;
/* rgb */ color: rgb(94, 80, 175);
/* oklch */ color: oklch(49.5% 0.146 286.5);
Tailwind
colors: {
  custom: {
    50: '#9181c7',
    500: '#5e50af',
    950: '#000000',
  },
}
SCSS
$custom: #5e50af;
$custom-light: #9181c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50af",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 248.842,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.14573,
    "h": 286.5
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#5E50AF
secondary
#BCC398
accent
#CD5BBC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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