#4E46A3#4E46A3

#4E46A3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.145 H 282.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4E46A3
RGBrgb(78, 70, 163)
HSLhsl(245, 40%, 46%)
HSVhsv(245, 57%, 64%)
CMYKcmyk(52.1%, 57.1%, 0%, 36.1%)
CIE-LABlab(35.29, 29.35, -49.46)
CIE-LCHlch(35.29, 57.51, 300.68°)
OKLaboklab(45.41% 0.0323 -0.1414)
OKLCHoklch(45.41% 0.145 282.9)
XYZxyz(11.9409, 8.6437, 35.6824)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46A3 #9BA346
analogous
#466CA3 #4E46A3 #7C46A3
triadic
#4E46A3 #A34E46 #46A34E
tetradic
#4E46A3 #A3466C #9BA346 #46A37C
square
#4E46A3 #A3466C #9BA346 #46A37C
split-complementary
#4E46A3 #A37C46 #6CA346
monochromatic
#25214D #3A3478 #4E46A3 #6F68BE #9893D1

Accessibility & contrast

On white

7.70
#4E46A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E46A3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46A3#FFFFFF#000000##FFFFFF
##4E46A31.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0356A6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#2C5B6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e46a3;
/* rgb */ color: rgb(78, 70, 163);
/* oklch */ color: oklch(45.4% 0.145 282.9);
Tailwind
colors: {
  custom: {
    50: '#8679bf',
    500: '#4e46a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e46a3;
$custom-light: #8679bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46a3",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 163
  },
  "hsl": {
    "h": 245.161,
    "s": 39.914,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45411,
    "c": 0.14507,
    "h": 282.9
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#4E46A3
secondary
#B8BC89
accent
#D058C5
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E46A3

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

Preview Lab → · Contrast checker → · Palette generator →

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