#4E46C3#4E46C3

#4E46C3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.0% C 0.188 H 279.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E46C3
RGBrgb(78, 70, 195)
HSLhsl(244, 51%, 52%)
HSVhsv(244, 64%, 76%)
CMYKcmyk(60%, 64.1%, 0%, 23.5%)
CIE-LABlab(37.73, 39.67, -64.42)
CIE-LCHlch(37.73, 75.66, 301.62°)
OKLaboklab(47.97% 0.0309 -0.1854)
OKLCHoklch(47.97% 0.188 279.5)
XYZxyz(15.1792, 9.9390, 52.7377)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46C3 #BBC346
analogous
#467DC3 #4E46C3 #8D46C3
triadic
#4E46C3 #C34E46 #46C34E
tetradic
#4E46C3 #C3467D #BBC346 #46C38D
square
#4E46C3 #C3467D #BBC346 #46C38D
split-complementary
#4E46C3 #C38D46 #7DC346
monochromatic
#28236C #39329A #4E46C3 #7A74D2 #A6A2E1

Accessibility & contrast

On white

7.03
#4E46C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E46C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46C3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46C3#FFFFFF#000000##FFFFFF
##4E46C31.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e46c3;
/* rgb */ color: rgb(78, 70, 195);
/* oklch */ color: oklch(48.0% 0.188 279.5);
Tailwind
colors: {
  custom: {
    50: '#8c7ad6',
    500: '#4e46c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e46c3;
$custom-light: #8c7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46c3",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 195
  },
  "hsl": {
    "h": 243.84,
    "s": 51.02,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.188,
    "h": 279.5
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

primary
#4E46C3
secondary
#CACE97
accent
#DA4DD1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E46C3

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

Preview Lab → · Contrast checker → · Palette generator →

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