#4E52C0#4E52C0

#4E52C0 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.169 H 276.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4E52C0
RGBrgb(78, 82, 192)
HSLhsl(238, 48%, 53%)
HSVhsv(238, 59%, 75%)
CMYKcmyk(59.4%, 57.3%, 0%, 24.7%)
CIE-LABlab(40.34, 31.31, -58.43)
CIE-LCHlch(40.34, 66.29, 298.19°)
OKLaboklab(49.82% 0.02 -0.1677)
OKLCHoklch(49.82% 0.169 276.8)
XYZxyz(15.6705, 11.4589, 51.2450)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52C0 #C0BC4E
analogous
#4E8BC0 #4E52C0 #834EC0
triadic
#4E52C0 #C04E52 #52C04E
tetradic
#4E52C0 #C04E8B #C0BC4E #4EC083
square
#4E52C0 #C04E8B #C0BC4E #4EC083
split-complementary
#4E52C0 #C0834E #8BC04E
monochromatic
#27296D #373A9A #4E52C0 #7B7ED0 #A8AAE0

Accessibility & contrast

On white

6.38
#4E52C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4E52C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52C0
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52C0#FFFFFF#000000##FFFFFF
##4E52C01.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e52c0;
/* rgb */ color: rgb(78, 82, 192);
/* oklch */ color: oklch(49.8% 0.169 276.8);
Tailwind
colors: {
  custom: {
    50: '#8a82d4',
    500: '#4e52c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e52c0;
$custom-light: #8a82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52c0",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 237.895,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49822,
    "c": 0.16892,
    "h": 276.8
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#4E52C0
secondary
#CECC9C
accent
#D251D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E52C0

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

Preview Lab → · Contrast checker → · Palette generator →

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