#4E5796#4E5796

#4E5796 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.102 H 275.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4E5796
RGBrgb(78, 87, 150)
HSLhsl(233, 32%, 45%)
HSVhsv(233, 48%, 59%)
CMYKcmyk(48%, 42%, 0%, 41.2%)
CIE-LABlab(38.96, 14.30, -35.76)
CIE-LCHlch(38.96, 38.51, 291.79°)
OKLaboklab(47.92% 0.0102 -0.1011)
OKLCHoklch(47.92% 0.102 275.7)
XYZxyz(12.0534, 10.6374, 30.2664)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5796 #968D4E
analogous
#4E7B96 #4E5796 #694E96
triadic
#4E5796 #964E57 #57964E
tetradic
#4E5796 #964E7B #968D4E #4E9669
square
#4E5796 #964E7B #968D4E #4E9669
split-complementary
#4E5796 #96694E #7B964E
monochromatic
#242845 #39406E #4E5796 #6E76B3 #969CC8

Accessibility & contrast

On white

6.71
#4E5796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5796
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5796#FFFFFF#000000##FFFFFF
##4E57961.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#34646F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5796;
/* rgb */ color: rgb(78, 87, 150);
/* oklch */ color: oklch(47.9% 0.102 275.7);
Tailwind
colors: {
  custom: {
    50: '#8486b5',
    500: '#4e5796',
    950: '#000000',
  },
}
SCSS
$custom: #4e5796;
$custom-light: #8486b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5796",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 232.5,
    "s": 31.579,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47918,
    "c": 0.10163,
    "h": 275.7
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5796

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

Preview Lab → · Contrast checker → · Palette generator →

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