#4E52B3#4E52B3

#4E52B3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.151 H 277.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4E52B3
RGBrgb(78, 82, 179)
HSLhsl(238, 40%, 50%)
HSVhsv(238, 56%, 70%)
CMYKcmyk(56.4%, 54.2%, 0%, 29.8%)
CIE-LABlab(39.43, 26.99, -52.29)
CIE-LCHlch(39.43, 58.85, 297.30°)
OKLaboklab(48.85% 0.0196 -0.1497)
OKLCHoklch(48.85% 0.151 277.5)
XYZxyz(14.2933, 10.9080, 43.9914)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52B3 #B3AF4E
analogous
#4E84B3 #4E52B3 #7C4EB3
triadic
#4E52B3 #B34E52 #52B34E
tetradic
#4E52B3 #B34E84 #B3AF4E #4EB37C
square
#4E52B3 #B34E84 #B3AF4E #4EB37C
split-complementary
#4E52B3 #B37C4E #84B34E
monochromatic
#282B5E #3B3E89 #4E52B3 #797CC5 #A4A6D8

Accessibility & contrast

On white

6.60
#4E52B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E52B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52B3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52B3#FFFFFF#000000##FFFFFF
##4E52B31.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#17687A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e52b3;
/* rgb */ color: rgb(78, 82, 179);
/* oklch */ color: oklch(48.8% 0.151 277.5);
Tailwind
colors: {
  custom: {
    50: '#8882ca',
    500: '#4e52b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e52b3;
$custom-light: #8882ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52b3",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 237.624,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.15097,
    "h": 277.5
  },
  "luminance": 0.10909
}

Semantic roles & 50–950 ramp

primary
#4E52B3
secondary
#C5C398
accent
#CB58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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