#4E42B0#4E42B0

#4E42B0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.168 H 282.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4E42B0
RGBrgb(78, 66, 176)
HSLhsl(247, 45%, 47%)
HSVhsv(247, 63%, 69%)
CMYKcmyk(55.7%, 62.5%, 0%, 31%)
CIE-LABlab(35.30, 35.99, -57.20)
CIE-LCHlch(35.30, 67.58, 302.18°)
OKLaboklab(45.73% 0.0361 -0.1642)
OKLCHoklch(45.73% 0.168 282.4)
XYZxyz(12.9242, 8.6499, 42.0545)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42B0 #A4B042
analogous
#426DB0 #4E42B0 #8542B0
triadic
#4E42B0 #B04E42 #42B04E
tetradic
#4E42B0 #B0426D #A4B042 #42B085
square
#4E42B0 #B0426D #A4B042 #42B085
split-complementary
#4E42B0 #B08542 #6DB042
monochromatic
#272157 #3A3183 #4E42B0 #7369C7 #9C95D7

Accessibility & contrast

On white

7.69
#4E42B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E42B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E42B0
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42B0#FFFFFF#000000##FFFFFF
##4E42B01.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#1F5D73
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e42b0;
/* rgb */ color: rgb(78, 66, 176);
/* oklch */ color: oklch(45.7% 0.168 282.4);
Tailwind
colors: {
  custom: {
    50: '#8977c8',
    500: '#4e42b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e42b0;
$custom-light: #8977c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42b0",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 246.545,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.16816,
    "h": 282.4
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#4E42B0
secondary
#BDC38B
accent
#D553C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E42B0

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

Preview Lab → · Contrast checker → · Palette generator →

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