#4E52C8#4E52C8

#4E52C8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.180 H 276.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4E52C8
RGBrgb(78, 82, 200)
HSLhsl(238, 53%, 55%)
HSVhsv(238, 61%, 78%)
CMYKcmyk(61%, 59%, 0%, 21.6%)
CIE-LABlab(40.93, 33.98, -62.12)
CIE-LCHlch(40.93, 70.80, 298.68°)
OKLaboklab(50.45% 0.0199 -0.1786)
OKLCHoklch(50.45% 0.18 276.4)
XYZxyz(16.5811, 11.8231, 56.0407)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52C8 #C8C44E
analogous
#4E8FC8 #4E52C8 #874EC8
triadic
#4E52C8 #C84E52 #52C84E
tetradic
#4E52C8 #C84E8F #C8C44E #4EC887
square
#4E52C8 #C84E8F #C8C44E #4EC887
split-complementary
#4E52C8 #C8874E #8FC84E
monochromatic
#252877 #3337A5 #4E52C8 #7D80D7 #ABADE5

Accessibility & contrast

On white

6.24
#4E52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E52C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52C8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52C8#FFFFFF#000000##FFFFFF
##4E52C81.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e52c8;
/* rgb */ color: rgb(78, 82, 200);
/* oklch */ color: oklch(50.4% 0.180 276.4);
Tailwind
colors: {
  custom: {
    50: '#8c82da',
    500: '#4e52c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e52c8;
$custom-light: #8c82da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52c8",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 238.033,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.1797,
    "h": 276.4
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#4E52C8
secondary
#D3D19F
accent
#D74CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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