#4E51DD#4E51DD

#4E51DD is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.208 H 275.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4E51DD
RGBrgb(78, 81, 221)
HSLhsl(239, 68%, 59%)
HSVhsv(239, 65%, 87%)
CMYKcmyk(64.7%, 63.3%, 0%, 13.3%)
CIE-LABlab(42.34, 41.54, -71.89)
CIE-LCHlch(42.34, 83.03, 300.02°)
OKLaboklab(52% 0.0198 -0.2073)
OKLCHoklch(52% 0.208 275.5)
XYZxyz(19.1312, 12.7234, 69.8403)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E51DD #DDDA4E
analogous
#4E98DD #4E51DD #924EDD
triadic
#4E51DD #DD4E51 #51DD4E
tetradic
#4E51DD #DD4E98 #DDDA4E #4EDD92
square
#4E51DD #DD4E98 #DDDA4E #4EDD92
split-complementary
#4E51DD #DD924E #98DD4E
monochromatic
#1C1F94 #262AC7 #4E51DD #8183E7 #B5B6F1

Accessibility & contrast

On white

5.92
#4E51DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4E51DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E51DD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E51DD#FFFFFF#000000##FFFFFF
##4E51DD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e51dd;
/* rgb */ color: rgb(78, 81, 221);
/* oklch */ color: oklch(52.0% 0.208 275.5);
Tailwind
colors: {
  custom: {
    50: '#8f82e9',
    500: '#4e51dd',
    950: '#000000',
  },
}
SCSS
$custom: #4e51dd;
$custom-light: #8f82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e51dd",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 238.741,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.20825,
    "h": 275.5
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#4E51DD
secondary
#E0DEA7
accent
#E73DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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