#4E5299#4E5299

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

Color values

HEX#4E5299
RGBrgb(78, 82, 153)
HSLhsl(237, 32%, 45%)
HSVhsv(237, 49%, 60%)
CMYKcmyk(49%, 46.4%, 0%, 40%)
CIE-LABlab(37.76, 18.46, -39.48)
CIE-LCHlch(37.76, 43.59, 295.06°)
OKLaboklab(47.06% 0.0171 -0.112)
OKLCHoklch(47.06% 0.113 278.7)
XYZxyz(11.9072, 9.9536, 31.4246)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5299 #99954E
analogous
#4E7799 #4E5299 #6F4E99
triadic
#4E5299 #994E52 #52994E
tetradic
#4E5299 #994E77 #99954E #4E996F
square
#4E5299 #994E77 #99954E #4E996F
split-complementary
#4E5299 #996F4E #77994E
monochromatic
#252748 #393C70 #4E5299 #6F73B5 #979ACA

Accessibility & contrast

On white

7.02
#4E5299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E5299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5299
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5299#FFFFFF#000000##FFFFFF
##4E52991.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#2F5697
Tritanopia (blue-blind)
#32616E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5299;
/* rgb */ color: rgb(78, 82, 153);
/* oklch */ color: oklch(47.1% 0.113 278.7);
Tailwind
colors: {
  custom: {
    50: '#8482b7',
    500: '#4e5299',
    950: '#000000',
  },
}
SCSS
$custom: #4e5299;
$custom-light: #8482b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5299",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 236.8,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47056,
    "c": 0.11333,
    "h": 278.7
  },
  "luminance": 0.09954
}

Semantic roles & 50–950 ramp

primary
#4E5299
secondary
#B7B48C
accent
#C35FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5299

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

Preview Lab → · Contrast checker → · Palette generator →

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