#4E52C1#4E52C1

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

Color values

HEX#4E52C1
RGBrgb(78, 82, 193)
HSLhsl(238, 48%, 53%)
HSVhsv(238, 60%, 76%)
CMYKcmyk(59.6%, 57.5%, 0%, 24.3%)
CIE-LABlab(40.42, 31.64, -58.89)
CIE-LCHlch(40.42, 66.86, 298.25°)
OKLaboklab(49.9% 0.02 -0.1691)
OKLCHoklch(49.9% 0.17 276.7)
XYZxyz(15.7817, 11.5034, 51.8305)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52C1 #C1BD4E
analogous
#4E8BC1 #4E52C1 #834EC1
triadic
#4E52C1 #C14E52 #52C14E
tetradic
#4E52C1 #C14E8B #C1BD4E #4EC183
square
#4E52C1 #C14E8B #C1BD4E #4EC183
split-complementary
#4E52C1 #C1834E #8BC14E
monochromatic
#27296E #363A9B #4E52C1 #7B7ED1 #A9ABE1

Accessibility & contrast

On white

6.36
#4E52C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4E52C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52C1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52C1#FFFFFF#000000##FFFFFF
##4E52C11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e52c1;
/* rgb */ color: rgb(78, 82, 193);
/* oklch */ color: oklch(49.9% 0.170 276.7);
Tailwind
colors: {
  custom: {
    50: '#8a82d4',
    500: '#4e52c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e52c1;
$custom-light: #8a82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52c1",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 237.913,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.17028,
    "h": 276.7
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#4E52C1
secondary
#CECC9D
accent
#D350D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E52C1

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

Preview Lab → · Contrast checker → · Palette generator →

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