#4E46AF#4E46AF

#4E46AF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.162 H 281.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4E46AF
RGBrgb(78, 70, 175)
HSLhsl(245, 43%, 48%)
HSVhsv(245, 60%, 69%)
CMYKcmyk(55.4%, 60%, 0%, 31.4%)
CIE-LABlab(36.17, 33.21, -55.20)
CIE-LCHlch(36.17, 64.42, 301.03°)
OKLaboklab(46.34% 0.0321 -0.1583)
OKLCHoklch(46.34% 0.162 281.5)
XYZxyz(13.0675, 9.0944, 41.6159)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46AF #A7AF46
analogous
#4673AF #4E46AF #8246AF
triadic
#4E46AF #AF4E46 #46AF4E
tetradic
#4E46AF #AF4673 #A7AF46 #46AF82
square
#4E46AF #AF4673 #A7AF46 #46AF82
split-complementary
#4E46AF #AF8246 #73AF46
monochromatic
#272358 #3B3583 #4E46AF #746DC5 #9E99D6

Accessibility & contrast

On white

7.45
#4E46AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E46AF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46AF#FFFFFF#000000##FFFFFF
##4E46AF1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#205F73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e46af;
/* rgb */ color: rgb(78, 70, 175);
/* oklch */ color: oklch(46.3% 0.162 281.5);
Tailwind
colors: {
  custom: {
    50: '#887ac8',
    500: '#4e46af',
    950: '#000000',
  },
}
SCSS
$custom: #4e46af;
$custom-light: #887ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46af",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 244.571,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46336,
    "c": 0.16157,
    "h": 281.5
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#4E46AF
secondary
#BEC28E
accent
#D355C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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