#4E52DF#4E52DF

#4E52DF is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.3% C 0.210 H 275.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4E52DF
RGBrgb(78, 82, 223)
HSLhsl(238, 69%, 59%)
HSVhsv(238, 65%, 87%)
CMYKcmyk(65%, 63.2%, 0%, 12.5%)
CIE-LABlab(42.73, 41.60, -72.39)
CIE-LCHlch(42.73, 83.50, 299.89°)
OKLaboklab(52.33% 0.0189 -0.2088)
OKLCHoklch(52.33% 0.21 275.2)
XYZxyz(19.4741, 12.9803, 71.2769)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52DF #DFDB4E
analogous
#4E9BDF #4E52DF #934EDF
triadic
#4E52DF #DF4E52 #52DF4E
tetradic
#4E52DF #DF4E9B #DFDB4E #4EDF93
square
#4E52DF #DF4E9B #DFDB4E #4EDF93
split-complementary
#4E52DF #DF934E #9BDF4E
monochromatic
#1B1F97 #2529CB #4E52DF #8285E8 #B6B7F2

Accessibility & contrast

On white

5.84
#4E52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4E52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52DF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52DF#FFFFFF#000000##FFFFFF
##4E52DF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE3
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e52df;
/* rgb */ color: rgb(78, 82, 223);
/* oklch */ color: oklch(52.3% 0.210 275.2);
Tailwind
colors: {
  custom: {
    50: '#9083ea',
    500: '#4e52df',
    950: '#000000',
  },
}
SCSS
$custom: #4e52df;
$custom-light: #9083ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52df",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 238.345,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.20963,
    "h": 275.2
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#4E52DF
secondary
#E1DFA8
accent
#E73CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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