#4E5296#4E5296

#4E5296 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.9% C 0.109 H 278.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4E5296
RGBrgb(78, 82, 150)
HSLhsl(237, 32%, 45%)
HSVhsv(237, 48%, 59%)
CMYKcmyk(48%, 45.3%, 0%, 41.2%)
CIE-LABlab(37.58, 17.50, -37.96)
CIE-LCHlch(37.58, 41.80, 294.75°)
OKLaboklab(46.86% 0.0166 -0.1076)
OKLCHoklch(46.86% 0.109 278.8)
XYZxyz(11.6625, 9.8557, 30.1361)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5296 #96924E
analogous
#4E7696 #4E5296 #6E4E96
triadic
#4E5296 #964E52 #52964E
tetradic
#4E5296 #964E76 #96924E #4E966E
square
#4E5296 #964E76 #96924E #4E966E
split-complementary
#4E5296 #966E4E #76964E
monochromatic
#242645 #393C6E #4E5296 #6E72B3 #9699C8

Accessibility & contrast

On white

7.07
#4E5296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E5296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5296
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5296#FFFFFF#000000##FFFFFF
##4E52961.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B99
Deuteranopia (green-blind)
#315694
Tritanopia (blue-blind)
#34606C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5296;
/* rgb */ color: rgb(78, 82, 150);
/* oklch */ color: oklch(46.9% 0.109 278.8);
Tailwind
colors: {
  custom: {
    50: '#8482b5',
    500: '#4e5296',
    950: '#000000',
  },
}
SCSS
$custom: #4e5296;
$custom-light: #8482b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5296",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 236.667,
    "s": 31.579,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46864,
    "c": 0.10884,
    "h": 278.8
  },
  "luminance": 0.09856
}

Semantic roles & 50–950 ramp

primary
#4E5296
secondary
#B5B38B
accent
#C260C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5296

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

Preview Lab → · Contrast checker → · Palette generator →

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