#4E5397#4E5397

#4E5397 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.1% C 0.109 H 278.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4E5397
RGBrgb(78, 83, 151)
HSLhsl(236, 32%, 45%)
HSVhsv(236, 48%, 59%)
CMYKcmyk(48.3%, 45%, 0%, 40.8%)
CIE-LABlab(37.91, 17.18, -38.03)
CIE-LCHlch(37.91, 41.73, 294.31°)
OKLaboklab(47.14% 0.0155 -0.1078)
OKLCHoklch(47.14% 0.109 278.2)
XYZxyz(11.8193, 10.0399, 30.5873)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5397 #97924E
analogous
#4E7897 #4E5397 #6D4E97
triadic
#4E5397 #974E53 #53974E
tetradic
#4E5397 #974E78 #97924E #4E976D
square
#4E5397 #974E78 #97924E #4E976D
split-complementary
#4E5397 #976D4E #78974E
monochromatic
#242746 #393D6F #4E5397 #6E73B4 #969AC9

Accessibility & contrast

On white

6.98
#4E5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E5397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5397
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5397#FFFFFF#000000##FFFFFF
##4E53971.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#325795
Tritanopia (blue-blind)
#33616D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5397;
/* rgb */ color: rgb(78, 83, 151);
/* oklch */ color: oklch(47.1% 0.109 278.2);
Tailwind
colors: {
  custom: {
    50: '#8483b6',
    500: '#4e5397',
    950: '#000000',
  },
}
SCSS
$custom: #4e5397;
$custom-light: #8483b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5397",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 235.89,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.10889,
    "h": 278.2
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#4E5397
secondary
#B6B38B
accent
#C160C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5397

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

Preview Lab → · Contrast checker → · Palette generator →

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