#4E5797#4E5797

#4E5797 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.0% C 0.103 H 275.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4E5797
RGBrgb(78, 87, 151)
HSLhsl(233, 32%, 45%)
HSVhsv(233, 48%, 59%)
CMYKcmyk(48.3%, 42.4%, 0%, 40.8%)
CIE-LABlab(39.02, 14.62, -36.28)
CIE-LCHlch(39.02, 39.11, 291.94°)
OKLaboklab(47.98% 0.0104 -0.1026)
OKLCHoklch(47.98% 0.103 275.8)
XYZxyz(12.1343, 10.6698, 30.6922)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5797 #978E4E
analogous
#4E7B97 #4E5797 #6A4E97
triadic
#4E5797 #974E57 #57974E
tetradic
#4E5797 #974E7B #978E4E #4E976A
square
#4E5797 #974E7B #978E4E #4E976A
split-complementary
#4E5797 #976A4E #7B974E
monochromatic
#242846 #39406F #4E5797 #6E77B4 #969DC9

Accessibility & contrast

On white

6.70
#4E5797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4E5797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5797
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5797#FFFFFF#000000##FFFFFF
##4E57971.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#33646F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5797;
/* rgb */ color: rgb(78, 87, 151);
/* oklch */ color: oklch(48.0% 0.103 275.8);
Tailwind
colors: {
  custom: {
    50: '#8486b6',
    500: '#4e5797',
    950: '#000000',
  },
}
SCSS
$custom: #4e5797;
$custom-light: #8486b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5797",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 232.603,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.10314,
    "h": 275.8
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#4E5797
secondary
#B6B08B
accent
#BB60C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5797

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

Preview Lab → · Contrast checker → · Palette generator →

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