#4E52BE#4E52BE

#4E52BE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.166 H 276.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4E52BE
RGBrgb(78, 82, 190)
HSLhsl(238, 46%, 53%)
HSVhsv(238, 59%, 75%)
CMYKcmyk(58.9%, 56.8%, 0%, 25.5%)
CIE-LABlab(40.20, 30.65, -57.49)
CIE-LCHlch(40.20, 65.15, 298.06°)
OKLaboklab(49.67% 0.0199 -0.165)
OKLCHoklch(49.67% 0.166 276.9)
XYZxyz(15.4505, 11.3709, 50.0858)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52BE #BEBA4E
analogous
#4E8ABE #4E52BE #824EBE
triadic
#4E52BE #BE4E52 #52BE4E
tetradic
#4E52BE #BE4E8A #BEBA4E #4EBE82
square
#4E52BE #BE4E8A #BEBA4E #4EBE82
split-complementary
#4E52BE #BE824E #8ABE4E
monochromatic
#272A6A #383B97 #4E52BE #7B7ECE #A8AADF

Accessibility & contrast

On white

6.41
#4E52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E52BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52BE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52BE#FFFFFF#000000##FFFFFF
##4E52BE1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e52be;
/* rgb */ color: rgb(78, 82, 190);
/* oklch */ color: oklch(49.7% 0.166 276.9);
Tailwind
colors: {
  custom: {
    50: '#8a82d2',
    500: '#4e52be',
    950: '#000000',
  },
}
SCSS
$custom: #4e52be;
$custom-light: #8a82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52be",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 237.857,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49669,
    "c": 0.16619,
    "h": 276.9
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#4E52BE
secondary
#CCCA9C
accent
#D152D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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