#4E5097#4E5097

#4E5097 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.5% C 0.113 H 279.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4E5097
RGBrgb(78, 80, 151)
HSLhsl(238, 32%, 45%)
HSVhsv(238, 48%, 59%)
CMYKcmyk(48.3%, 47%, 0%, 40.8%)
CIE-LABlab(37.10, 19.11, -39.33)
CIE-LCHlch(37.10, 43.73, 295.91°)
OKLaboklab(46.52% 0.0193 -0.1116)
OKLCHoklch(46.52% 0.113 279.8)
XYZxyz(11.5948, 9.5908, 30.5124)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5097 #97954E
analogous
#4E7597 #4E5097 #704E97
triadic
#4E5097 #974E50 #50974E
tetradic
#4E5097 #974E75 #97954E #4E9770
square
#4E5097 #974E75 #97954E #4E9770
split-complementary
#4E5097 #97704E #75974E
monochromatic
#242546 #393B6F #4E5097 #6E70B4 #9698C9

Accessibility & contrast

On white

7.20
#4E5097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E5097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5097
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5097#FFFFFF#000000##FFFFFF
##4E50971.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#2D5595
Tritanopia (blue-blind)
#345F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5097;
/* rgb */ color: rgb(78, 80, 151);
/* oklch */ color: oklch(46.5% 0.113 279.8);
Tailwind
colors: {
  custom: {
    50: '#8481b6',
    500: '#4e5097',
    950: '#000000',
  },
}
SCSS
$custom: #4e5097;
$custom-light: #8481b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5097",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 238.356,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.11327,
    "h": 279.8
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#4E5097
secondary
#B6B48B
accent
#C560C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5097

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

Preview Lab → · Contrast checker → · Palette generator →

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