#4E45B0#4E45B0

#4E45B0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.164 H 281.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4E45B0
RGBrgb(78, 69, 176)
HSLhsl(245, 44%, 48%)
HSVhsv(245, 61%, 69%)
CMYKcmyk(55.7%, 60.8%, 0%, 31%)
CIE-LABlab(36.00, 34.15, -56.06)
CIE-LCHlch(36.00, 65.64, 301.35°)
OKLaboklab(46.24% 0.0331 -0.1609)
OKLCHoklch(46.24% 0.164 281.6)
XYZxyz(13.1041, 9.0097, 42.1144)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45B0 #A7B045
analogous
#4571B0 #4E45B0 #8345B0
triadic
#4E45B0 #B04E45 #45B04E
tetradic
#4E45B0 #B04571 #A7B045 #45B083
square
#4E45B0 #B04571 #A7B045 #45B083
split-complementary
#4E45B0 #B08345 #71B045
monochromatic
#272358 #3B3484 #4E45B0 #746DC6 #9E99D7

Accessibility & contrast

On white

7.49
#4E45B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E45B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45B0
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45B0#FFFFFF#000000##FFFFFF
##4E45B01.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#1F5F74
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e45b0;
/* rgb */ color: rgb(78, 69, 176);
/* oklch */ color: oklch(46.2% 0.164 281.6);
Tailwind
colors: {
  custom: {
    50: '#8879c8',
    500: '#4e45b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e45b0;
$custom-light: #8879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45b0",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 245.047,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4624,
    "c": 0.16423,
    "h": 281.6
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#4E45B0
secondary
#BEC38E
accent
#D354C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E45B0

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

Preview Lab → · Contrast checker → · Palette generator →

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