#4E52C3#4E52C3

#4E52C3 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.173 H 276.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4E52C3
RGBrgb(78, 82, 195)
HSLhsl(238, 49%, 54%)
HSVhsv(238, 60%, 76%)
CMYKcmyk(60%, 57.9%, 0%, 23.5%)
CIE-LABlab(40.56, 32.31, -59.82)
CIE-LCHlch(40.56, 67.99, 298.38°)
OKLaboklab(50.05% 0.02 -0.1718)
OKLCHoklch(50.05% 0.173 276.6)
XYZxyz(16.0063, 11.5932, 53.0134)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52C3 #C3BF4E
analogous
#4E8CC3 #4E52C3 #844EC3
triadic
#4E52C3 #C34E52 #52C34E
tetradic
#4E52C3 #C34E8C #C3BF4E #4EC384
square
#4E52C3 #C34E8C #C3BF4E #4EC384
split-complementary
#4E52C3 #C3844E #8CC34E
monochromatic
#262970 #36399E #4E52C3 #7C7FD2 #A9ABE2

Accessibility & contrast

On white

6.33
#4E52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E52C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52C3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52C3#FFFFFF#000000##FFFFFF
##4E52C31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e52c3;
/* rgb */ color: rgb(78, 82, 195);
/* oklch */ color: oklch(50.1% 0.173 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b82d6',
    500: '#4e52c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e52c3;
$custom-light: #8b82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52c3",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 237.949,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.17299,
    "h": 276.6
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#4E52C3
secondary
#CFCE9D
accent
#D44FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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