#4E45B8#4E45B8

#4E45B8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.175 H 280.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4E45B8
RGBrgb(78, 69, 184)
HSLhsl(245, 45%, 50%)
HSVhsv(245, 63%, 72%)
CMYKcmyk(57.6%, 62.5%, 0%, 27.8%)
CIE-LABlab(36.62, 36.73, -59.78)
CIE-LCHlch(36.62, 70.16, 301.56°)
OKLaboklab(46.89% 0.0327 -0.1718)
OKLCHoklch(46.89% 0.175 280.8)
XYZxyz(13.9190, 9.3357, 46.4066)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45B8 #AFB845
analogous
#4575B8 #4E45B8 #8845B8
triadic
#4E45B8 #B84E45 #45B84E
tetradic
#4E45B8 #B84575 #AFB845 #45B888
square
#4E45B8 #B84575 #AFB845 #45B888
split-complementary
#4E45B8 #B88845 #75B845
monochromatic
#28245F #3B348B #4E45B8 #7871CA #A29DDA

Accessibility & contrast

On white

7.32
#4E45B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E45B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45B8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45B8#FFFFFF#000000##FFFFFF
##4E45B81.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#116178
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e45b8;
/* rgb */ color: rgb(78, 69, 184);
/* oklch */ color: oklch(46.9% 0.175 280.8);
Tailwind
colors: {
  custom: {
    50: '#8a79ce',
    500: '#4e45b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e45b8;
$custom-light: #8a79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45b8",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 244.696,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46889,
    "c": 0.17489,
    "h": 280.8
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#4E45B8
secondary
#C3C792
accent
#D553CB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E45B8

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

Preview Lab → · Contrast checker → · Palette generator →

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