#4E52C2#4E52C2

#4E52C2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.172 H 276.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4E52C2
RGBrgb(78, 82, 194)
HSLhsl(238, 49%, 53%)
HSVhsv(238, 60%, 76%)
CMYKcmyk(59.8%, 57.7%, 0%, 23.9%)
CIE-LABlab(40.49, 31.98, -59.36)
CIE-LCHlch(40.49, 67.42, 298.31°)
OKLaboklab(49.98% 0.02 -0.1705)
OKLCHoklch(49.98% 0.172 276.7)
XYZxyz(15.8936, 11.5481, 52.4200)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52C2 #C2BE4E
analogous
#4E8CC2 #4E52C2 #844EC2
triadic
#4E52C2 #C24E52 #52C24E
tetradic
#4E52C2 #C24E8C #C2BE4E #4EC284
square
#4E52C2 #C24E8C #C2BE4E #4EC284
split-complementary
#4E52C2 #C2844E #8CC24E
monochromatic
#26296F #363A9D #4E52C2 #7C7ED2 #A9ABE1

Accessibility & contrast

On white

6.34
#4E52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E52C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52C2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52C2#FFFFFF#000000##FFFFFF
##4E52C21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e52c2;
/* rgb */ color: rgb(78, 82, 194);
/* oklch */ color: oklch(50.0% 0.172 276.7);
Tailwind
colors: {
  custom: {
    50: '#8b82d5',
    500: '#4e52c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e52c2;
$custom-light: #8b82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52c2",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 237.931,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.17163,
    "h": 276.7
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#4E52C2
secondary
#CFCD9D
accent
#D450D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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