#4E52D1#4E52D1

#4E52D1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.192 H 275.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4E52D1
RGBrgb(78, 82, 209)
HSLhsl(238, 59%, 56%)
HSVhsv(238, 63%, 82%)
CMYKcmyk(62.7%, 60.8%, 0%, 18%)
CIE-LABlab(41.62, 36.97, -66.20)
CIE-LCHlch(41.62, 75.82, 299.18°)
OKLaboklab(51.17% 0.0197 -0.1906)
OKLCHoklch(51.17% 0.192 275.9)
XYZxyz(17.6640, 12.2563, 61.7441)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52D1 #D1CD4E
analogous
#4E94D1 #4E52D1 #8C4ED1
triadic
#4E52D1 #D14E52 #52D14E
tetradic
#4E52D1 #D14E94 #D1CD4E #4ED18C
square
#4E52D1 #D14E94 #D1CD4E #4ED18C
split-complementary
#4E52D1 #D18C4E #94D14E
monochromatic
#222583 #2F33B3 #4E52D1 #7F81DE #AFB1EA

Accessibility & contrast

On white

6.08
#4E52D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E52D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52D1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52D1#FFFFFF#000000##FFFFFF
##4E52D11.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e52d1;
/* rgb */ color: rgb(78, 82, 209);
/* oklch */ color: oklch(51.2% 0.192 275.9);
Tailwind
colors: {
  custom: {
    50: '#8d83e0',
    500: '#4e52d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e52d1;
$custom-light: #8d83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52d1",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 238.168,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.19159,
    "h": 275.9
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#4E52D1
secondary
#D8D7A2
accent
#DD46E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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