#4E45B9#4E45B9

#4E45B9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.176 H 280.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4E45B9
RGBrgb(78, 69, 185)
HSLhsl(245, 46%, 50%)
HSVhsv(245, 63%, 73%)
CMYKcmyk(57.8%, 62.7%, 0%, 27.5%)
CIE-LABlab(36.70, 37.05, -60.24)
CIE-LCHlch(36.70, 70.72, 301.59°)
OKLaboklab(46.97% 0.0326 -0.1732)
OKLCHoklch(46.97% 0.176 280.7)
XYZxyz(14.0242, 9.3778, 46.9606)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45B9 #B0B945
analogous
#4576B9 #4E45B9 #8845B9
triadic
#4E45B9 #B94E45 #45B94E
tetradic
#4E45B9 #B94576 #B0B945 #45B988
square
#4E45B9 #B94576 #B0B945 #45B988
split-complementary
#4E45B9 #B98845 #76B945
monochromatic
#282460 #3B348C #4E45B9 #7871CA #A29EDB

Accessibility & contrast

On white

7.30
#4E45B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E45B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45B9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45B9#FFFFFF#000000##FFFFFF
##4E45B91.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#0E6278
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e45b9;
/* rgb */ color: rgb(78, 69, 185);
/* oklch */ color: oklch(47.0% 0.176 280.7);
Tailwind
colors: {
  custom: {
    50: '#8a79cf',
    500: '#4e45b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e45b9;
$custom-light: #8a79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45b9",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 244.655,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46972,
    "c": 0.1762,
    "h": 280.7
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#4E45B9
secondary
#C3C793
accent
#D552CB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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