#4E42D3#4E42D3

#4E42D3 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.8% C 0.213 H 278.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4E42D3
RGBrgb(78, 66, 211)
HSLhsl(245, 62%, 54%)
HSVhsv(245, 69%, 83%)
CMYKcmyk(63%, 68.7%, 0%, 17.3%)
CIE-LABlab(38.23, 47.10, -72.89)
CIE-LCHlch(38.23, 86.78, 302.87°)
OKLaboklab(48.75% 0.0322 -0.2103)
OKLCHoklch(48.75% 0.213 278.7)
XYZxyz(16.8442, 10.2179, 62.7000)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42D3 #C7D342
analogous
#427ED3 #4E42D3 #9742D3
triadic
#4E42D3 #D34E42 #42D34E
tetradic
#4E42D3 #D3427E #C7D342 #42D397
square
#4E42D3 #D3427E #C7D342 #42D397
split-complementary
#4E42D3 #D39742 #7ED342
monochromatic
#251D7D #3429AF #4E42D3 #7C74DF #ABA5EA

Accessibility & contrast

On white

6.90
#4E42D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4E42D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E42D3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42D3#FFFFFF#000000##FFFFFF
##4E42D31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0054D0
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e42d3;
/* rgb */ color: rgb(78, 66, 211);
/* oklch */ color: oklch(48.8% 0.213 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f78e2',
    500: '#4e42d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e42d3;
$custom-light: #8f78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42d3",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 244.966,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48754,
    "c": 0.2127,
    "h": 278.7
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#4E42D3
secondary
#D2D79A
accent
#E542D8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4E42D3

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

Preview Lab → · Contrast checker → · Palette generator →

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