#4E5E95#4E5E95

#4E5E95 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.4% C 0.090 H 270.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4E5E95
RGBrgb(78, 94, 149)
HSLhsl(226, 31%, 45%)
HSVhsv(226, 48%, 58%)
CMYKcmyk(47.7%, 36.9%, 0%, 41.6%)
CIE-LABlab(40.89, 9.52, -32.12)
CIE-LCHlch(40.89, 33.50, 286.51°)
OKLaboklab(49.38% 0.0008 -0.0905)
OKLCHoklch(49.38% 0.09 270.5)
XYZxyz(12.5677, 11.7943, 30.0422)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5E95 #95854E
analogous
#4E8295 #4E5E95 #624E95
triadic
#4E5E95 #954E5E #5E954E
tetradic
#4E5E95 #954E82 #95854E #4E9562
square
#4E5E95 #954E82 #95854E #4E9562
split-complementary
#4E5E95 #95624E #82954E
monochromatic
#242B45 #39456D #4E5E95 #6D7DB3 #96A1C8

Accessibility & contrast

On white

6.25
#4E5E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E5E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5E95
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5E95#FFFFFF#000000##FFFFFF
##4E5E951.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6497
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#336972
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5e95;
/* rgb */ color: rgb(78, 94, 149);
/* oklch */ color: oklch(49.4% 0.090 270.5);
Tailwind
colors: {
  custom: {
    50: '#838bb4',
    500: '#4e5e95',
    950: '#000000',
  },
}
SCSS
$custom: #4e5e95;
$custom-light: #838bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5e95",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 226.479,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.09046,
    "h": 270.5
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#4E5E95
secondary
#B4AB8A
accent
#B060C7
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E5E95

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

Preview Lab → · Contrast checker → · Palette generator →

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