#4E5C95#4E5C95

#4E5C95 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.9% C 0.093 H 272.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4E5C95
RGBrgb(78, 92, 149)
HSLhsl(228, 31%, 45%)
HSVhsv(228, 48%, 58%)
CMYKcmyk(47.7%, 38.3%, 0%, 41.6%)
CIE-LABlab(40.32, 10.79, -33.02)
CIE-LCHlch(40.32, 34.74, 288.09°)
OKLaboklab(48.94% 0.0034 -0.0931)
OKLCHoklch(48.94% 0.093 272.1)
XYZxyz(12.3921, 11.4432, 29.9837)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C95 #95874E
analogous
#4E8095 #4E5C95 #644E95
triadic
#4E5C95 #954E5C #5C954E
tetradic
#4E5C95 #954E80 #95874E #4E9564
square
#4E5C95 #954E80 #95874E #4E9564
split-complementary
#4E5C95 #95644E #80954E
monochromatic
#242A45 #39436D #4E5C95 #6D7BB3 #969FC8

Accessibility & contrast

On white

6.39
#4E5C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4E5C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5C95
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C95#FFFFFF#000000##FFFFFF
##4E5C951.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476297
Deuteranopia (green-blind)
#405C94
Tritanopia (blue-blind)
#336871
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5c95;
/* rgb */ color: rgb(78, 92, 149);
/* oklch */ color: oklch(48.9% 0.093 272.1);
Tailwind
colors: {
  custom: {
    50: '#8389b4',
    500: '#4e5c95',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c95;
$custom-light: #8389b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c95",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 149
  },
  "hsl": {
    "h": 228.169,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.09315,
    "h": 272.1
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#4E5C95
secondary
#B4AC8A
accent
#B360C7
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5C95

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

Preview Lab → · Contrast checker → · Palette generator →

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