#4E5D91#4E5D91

#4E5D91 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.9% C 0.086 H 270.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4E5D91
RGBrgb(78, 93, 145)
HSLhsl(227, 30%, 44%)
HSVhsv(227, 46%, 57%)
CMYKcmyk(46.2%, 35.9%, 0%, 43.1%)
CIE-LABlab(40.40, 8.89, -30.49)
CIE-LCHlch(40.40, 31.76, 286.25°)
OKLaboklab(48.93% 0.0011 -0.0857)
OKLCHoklch(48.93% 0.086 270.8)
XYZxyz(12.1655, 11.4921, 28.3597)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D91 #91824E
analogous
#4E7E91 #4E5D91 #604E91
triadic
#4E5D91 #914E5D #5D914E
tetradic
#4E5D91 #914E7E #91824E #4E9160
square
#4E5D91 #914E7E #91824E #4E9160
split-complementary
#4E5D91 #91604E #7E914E
monochromatic
#232A41 #394369 #4E5D91 #6C7BB0 #949FC5

Accessibility & contrast

On white

6.37
#4E5D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4E5D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5D91
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D91#FFFFFF#000000##FFFFFF
##4E5D911.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6293
Deuteranopia (green-blind)
#445D90
Tritanopia (blue-blind)
#366870
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5d91;
/* rgb */ color: rgb(78, 93, 145);
/* oklch */ color: oklch(48.9% 0.086 270.8);
Tailwind
colors: {
  custom: {
    50: '#838ab1',
    500: '#4e5d91',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d91;
$custom-light: #838ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d91",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 226.567,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48934,
    "c": 0.08573,
    "h": 270.8
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

primary
#4E5D91
secondary
#B2A989
accent
#B062C6
background
#F8F8FA
surface
#EFF0F5
border
#CACBCF
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5D91

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

Preview Lab → · Contrast checker → · Palette generator →

#4E5D91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva