#4E45A3#4E45A3

#4E45A3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.146 H 283.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4E45A3
RGBrgb(78, 69, 163)
HSLhsl(246, 41%, 45%)
HSVhsv(246, 58%, 64%)
CMYKcmyk(52.1%, 57.7%, 0%, 36.1%)
CIE-LABlab(35.04, 29.98, -49.86)
CIE-LCHlch(35.04, 58.18, 301.02°)
OKLaboklab(45.23% 0.0334 -0.1426)
OKLCHoklch(45.23% 0.146 283.2)
XYZxyz(11.8789, 8.5196, 35.6618)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45A3 #9AA345
analogous
#456BA3 #4E45A3 #7D45A3
triadic
#4E45A3 #A34E45 #45A34E
tetradic
#4E45A3 #A3456B #9AA345 #45A37D
square
#4E45A3 #A3456B #9AA345 #45A37D
split-complementary
#4E45A3 #A37D45 #6BA345
monochromatic
#25214D #393378 #4E45A3 #6F67BF #9892D1

Accessibility & contrast

On white

7.77
#4E45A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E45A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45A3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45A3#FFFFFF#000000##FFFFFF
##4E45A31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#2C5B6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e45a3;
/* rgb */ color: rgb(78, 69, 163);
/* oklch */ color: oklch(45.2% 0.146 283.2);
Tailwind
colors: {
  custom: {
    50: '#8679bf',
    500: '#4e45a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e45a3;
$custom-light: #8679bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45a3",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 245.745,
    "s": 40.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45228,
    "c": 0.14648,
    "h": 283.2
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#4E45A3
secondary
#B7BC87
accent
#D057C5
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E45A3

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

Preview Lab → · Contrast checker → · Palette generator →

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