#4E45B6#4E45B6

#4E45B6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.172 H 281.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4E45B6
RGBrgb(78, 69, 182)
HSLhsl(245, 45%, 49%)
HSVhsv(245, 62%, 71%)
CMYKcmyk(57.1%, 62.1%, 0%, 28.6%)
CIE-LABlab(36.47, 36.08, -58.86)
CIE-LCHlch(36.47, 69.04, 301.51°)
OKLaboklab(46.73% 0.0328 -0.1691)
OKLCHoklch(46.73% 0.172 281)
XYZxyz(13.7109, 9.2524, 45.3103)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45B6 #ADB645
analogous
#4575B6 #4E45B6 #8745B6
triadic
#4E45B6 #B64E45 #45B64E
tetradic
#4E45B6 #B64575 #ADB645 #45B687
square
#4E45B6 #B64575 #ADB645 #45B687
split-complementary
#4E45B6 #B68745 #75B645
monochromatic
#28235D #3B348A #4E45B6 #7770C9 #A19CD9

Accessibility & contrast

On white

7.37
#4E45B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E45B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45B6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45B6#FFFFFF#000000##FFFFFF
##4E45B61.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#156177
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e45b6;
/* rgb */ color: rgb(78, 69, 182);
/* oklch */ color: oklch(46.7% 0.172 281.0);
Tailwind
colors: {
  custom: {
    50: '#8979cd',
    500: '#4e45b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e45b6;
$custom-light: #8979cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45b6",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 244.779,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.17224,
    "h": 281
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#4E45B6
secondary
#C2C691
accent
#D553CA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #4E45B6

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

Preview Lab → · Contrast checker → · Palette generator →

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