#4E43B1#4E43B1

#4E43B1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.0% C 0.168 H 282.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E43B1
RGBrgb(78, 67, 177)
HSLhsl(246, 45%, 48%)
HSVhsv(246, 62%, 69%)
CMYKcmyk(55.9%, 62.1%, 0%, 30.6%)
CIE-LABlab(35.61, 35.70, -57.29)
CIE-LCHlch(35.61, 67.50, 301.93°)
OKLaboklab(45.98% 0.0351 -0.1645)
OKLCHoklch(45.98% 0.168 282)
XYZxyz(13.0824, 8.8075, 42.5971)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43B1 #A6B143
analogous
#436FB1 #4E43B1 #8543B1
triadic
#4E43B1 #B14E43 #43B14E
tetradic
#4E43B1 #B1436F #A6B143 #43B185
square
#4E43B1 #B1436F #A6B143 #43B185
split-complementary
#4E43B1 #B18543 #6FB143
monochromatic
#272158 #3A3285 #4E43B1 #746AC7 #9D97D8

Accessibility & contrast

On white

7.60
#4E43B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E43B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43B1
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43B1#FFFFFF#000000##FFFFFF
##4E43B11.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#1E5E73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e43b1;
/* rgb */ color: rgb(78, 67, 177);
/* oklch */ color: oklch(46.0% 0.168 282.0);
Tailwind
colors: {
  custom: {
    50: '#8978c9',
    500: '#4e43b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e43b1;
$custom-light: #8978c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43b1",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 177
  },
  "hsl": {
    "h": 246,
    "s": 45.082,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45977,
    "c": 0.16819,
    "h": 282
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#4E43B1
secondary
#BEC38C
accent
#D553C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E43B1

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

Preview Lab → · Contrast checker → · Palette generator →

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