#4E42D0#4E42D0

#4E42D0 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.209 H 279.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4E42D0
RGBrgb(78, 66, 208)
HSLhsl(245, 60%, 54%)
HSVhsv(245, 68%, 82%)
CMYKcmyk(62.5%, 68.3%, 0%, 18.4%)
CIE-LABlab(37.97, 46.15, -71.59)
CIE-LCHlch(37.97, 85.18, 302.81°)
OKLaboklab(48.48% 0.0326 -0.2065)
OKLCHoklch(48.48% 0.209 279)
XYZxyz(16.4716, 10.0689, 60.7378)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42D0 #C4D042
analogous
#427DD0 #4E42D0 #9542D0
triadic
#4E42D0 #D04E42 #42D04E
tetradic
#4E42D0 #D0427D #C4D042 #42D095
square
#4E42D0 #D0427D #C4D042 #42D095
split-complementary
#4E42D0 #D09542 #7DD042
monochromatic
#261E79 #352AAA #4E42D0 #7C73DC #AAA4E8

Accessibility & contrast

On white

6.97
#4E42D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E42D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E42D0
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42D0#FFFFFF#000000##FFFFFF
##4E42D01.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0054CD
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e42d0;
/* rgb */ color: rgb(78, 66, 208);
/* oklch */ color: oklch(48.5% 0.209 279.0);
Tailwind
colors: {
  custom: {
    50: '#8e78e0',
    500: '#4e42d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e42d0;
$custom-light: #8e78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42d0",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 245.07,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.20902,
    "h": 279
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#4E42D0
secondary
#D0D599
accent
#E344D6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4E42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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