#4E5D95#4E5D95

#4E5D95 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.2% C 0.092 H 271.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4E5D95
RGBrgb(78, 93, 149)
HSLhsl(227, 31%, 45%)
HSVhsv(227, 48%, 58%)
CMYKcmyk(47.7%, 37.6%, 0%, 41.6%)
CIE-LABlab(40.60, 10.16, -32.57)
CIE-LCHlch(40.60, 34.12, 287.32°)
OKLaboklab(49.16% 0.0021 -0.0918)
OKLCHoklch(49.16% 0.092 271.3)
XYZxyz(12.4793, 11.6176, 30.0128)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D95 #95864E
analogous
#4E8195 #4E5D95 #634E95
triadic
#4E5D95 #954E5D #5D954E
tetradic
#4E5D95 #954E81 #95864E #4E9563
square
#4E5D95 #954E81 #95864E #4E9563
split-complementary
#4E5D95 #95634E #81954E
monochromatic
#242B45 #39446D #4E5D95 #6D7CB3 #96A0C8

Accessibility & contrast

On white

6.32
#4E5D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E5D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5D95
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D95#FFFFFF#000000##FFFFFF
##4E5D951.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486397
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#336972
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5d95;
/* rgb */ color: rgb(78, 93, 149);
/* oklch */ color: oklch(49.2% 0.092 271.3);
Tailwind
colors: {
  custom: {
    50: '#838ab4',
    500: '#4e5d95',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d95;
$custom-light: #838ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d95",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 227.324,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.0918,
    "h": 271.3
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#4E5D95
secondary
#B4AB8A
accent
#B260C7
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5D95

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

Preview Lab → · Contrast checker → · Palette generator →

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