#4E42DD#4E42DD

#4E42DD is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.7% C 0.225 H 277.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4E42DD
RGBrgb(78, 66, 221)
HSLhsl(245, 70%, 56%)
HSVhsv(245, 70%, 87%)
CMYKcmyk(64.7%, 70.1%, 0%, 13.3%)
CIE-LABlab(39.13, 50.23, -77.16)
CIE-LCHlch(39.13, 92.06, 303.06°)
OKLaboklab(49.67% 0.0306 -0.2227)
OKLCHoklch(49.67% 0.225 277.8)
XYZxyz(18.1370, 10.7351, 69.5089)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42DD #D1DD42
analogous
#4284DD #4E42DD #9C42DD
triadic
#4E42DD #DD4E42 #42DD4E
tetradic
#4E42DD #DD4284 #D1DD42 #42DD9C
square
#4E42DD #DD4284 #D1DD42 #42DD9C
split-complementary
#4E42DD #DD9C42 #84DD42
monochromatic
#22198C #2F22BF #4E42DD #7F76E6 #AFAAF0

Accessibility & contrast

On white

6.67
#4E42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E42DD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42DD#FFFFFF#000000##FFFFFF
##4E42DD1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0056DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e42dd;
/* rgb */ color: rgb(78, 66, 221);
/* oklch */ color: oklch(49.7% 0.225 277.8);
Tailwind
colors: {
  custom: {
    50: '#9178e9',
    500: '#4e42dd',
    950: '#000000',
  },
}
SCSS
$custom: #4e42dd;
$custom-light: #9178e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42dd",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 244.645,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.22483,
    "h": 277.8
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#4E42DD
secondary
#D8DD9D
accent
#EC3BDF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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