#4E42C3#4E42C3

#4E42C3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.193 H 280.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4E42C3
RGBrgb(78, 66, 195)
HSLhsl(246, 52%, 51%)
HSVhsv(246, 66%, 76%)
CMYKcmyk(60%, 66.2%, 0%, 23.5%)
CIE-LABlab(36.85, 42.04, -65.87)
CIE-LCHlch(36.85, 78.14, 302.55°)
OKLaboklab(47.33% 0.0343 -0.1897)
OKLCHoklch(47.33% 0.193 280.3)
XYZxyz(14.9373, 9.4552, 52.6571)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42C3 #B7C342
analogous
#4276C3 #4E42C3 #8E42C3
triadic
#4E42C3 #C34E42 #42C34E
tetradic
#4E42C3 #C34276 #B7C342 #42C38E
square
#4E42C3 #C34276 #B7C342 #42C38E
split-complementary
#4E42C3 #C38E42 #76C342
monochromatic
#282169 #3A3098 #4E42C3 #7A70D2 #A59FE0

Accessibility & contrast

On white

7.26
#4E42C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E42C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E42C3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42C3#FFFFFF#000000##FFFFFF
##4E42C31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e42c3;
/* rgb */ color: rgb(78, 66, 195);
/* oklch */ color: oklch(47.3% 0.193 280.3);
Tailwind
colors: {
  custom: {
    50: '#8c77d6',
    500: '#4e42c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e42c3;
$custom-light: #8c77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42c3",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 245.581,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.19278,
    "h": 280.3
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#4E42C3
secondary
#C8CD94
accent
#DB4DCE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E42C3

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

Preview Lab → · Contrast checker → · Palette generator →

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