#4E5E97#4E5E97

#4E5E97 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.5% C 0.093 H 270.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E5E97
RGBrgb(78, 94, 151)
HSLhsl(227, 32%, 45%)
HSVhsv(227, 48%, 59%)
CMYKcmyk(48.3%, 37.7%, 0%, 40.8%)
CIE-LABlab(40.99, 10.16, -33.16)
CIE-LCHlch(40.99, 34.68, 287.04°)
OKLaboklab(49.49% 0.0013 -0.0935)
OKLCHoklch(49.49% 0.093 270.8)
XYZxyz(12.7287, 11.8587, 30.8904)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5E97 #97874E
analogous
#4E8397 #4E5E97 #624E97
triadic
#4E5E97 #974E5E #5E974E
tetradic
#4E5E97 #974E83 #97874E #4E9762
square
#4E5E97 #974E83 #97874E #4E9762
split-complementary
#4E5E97 #97624E #83974E
monochromatic
#242C46 #39456F #4E5E97 #6E7DB4 #96A2C9

Accessibility & contrast

On white

6.23
#4E5E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E5E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5E97
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5E97#FFFFFF#000000##FFFFFF
##4E5E971.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#326A73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5e97;
/* rgb */ color: rgb(78, 94, 151);
/* oklch */ color: oklch(49.5% 0.093 270.8);
Tailwind
colors: {
  custom: {
    50: '#848bb6',
    500: '#4e5e97',
    950: '#000000',
  },
}
SCSS
$custom: #4e5e97;
$custom-light: #848bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5e97",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 226.849,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.09349,
    "h": 270.8
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#4E5E97
secondary
#B6AC8B
accent
#B160C8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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