#4E42BB#4E42BB

#4E42BB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.183 H 281.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#4E42BB
RGBrgb(78, 66, 187)
HSLhsl(246, 48%, 50%)
HSVhsv(246, 65%, 73%)
CMYKcmyk(58.3%, 64.7%, 0%, 26.7%)
CIE-LABlab(36.18, 39.49, -62.27)
CIE-LCHlch(36.18, 73.74, 302.39°)
OKLaboklab(46.64% 0.0352 -0.1791)
OKLCHoklch(46.64% 0.183 281.1)
XYZxyz(14.0569, 9.1030, 48.0204)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42BB #AFBB42
analogous
#4273BB #4E42BB #8A42BB
triadic
#4E42BB #BB4E42 #42BB4E
tetradic
#4E42BB #BB4273 #AFBB42 #42BB8A
square
#4E42BB #BB4273 #AFBB42 #42BB8A
split-complementary
#4E42BB #BB8A42 #73BB42
monochromatic
#282261 #3B328E #4E42BB #786ECC #A29CDC

Accessibility & contrast

On white

7.44
#4E42BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E42BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E42BB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42BB#FFFFFF#000000##FFFFFF
##4E42BB1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#096078
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e42bb;
/* rgb */ color: rgb(78, 66, 187);
/* oklch */ color: oklch(46.6% 0.183 281.1);
Tailwind
colors: {
  custom: {
    50: '#8b77d0',
    500: '#4e42bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e42bb;
$custom-light: #8b77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42bb",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 245.95,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.18255,
    "h": 281.1
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#4E42BB
secondary
#C3C891
accent
#D750CA
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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