#4E45C8#4E45C8

#4E45C8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.196 H 279.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4E45C8
RGBrgb(78, 69, 200)
HSLhsl(244, 54%, 53%)
HSVhsv(244, 66%, 78%)
CMYKcmyk(61%, 65.5%, 0%, 21.6%)
CIE-LABlab(37.92, 41.87, -67.03)
CIE-LCHlch(37.92, 79.03, 301.99°)
OKLaboklab(48.24% 0.0313 -0.1931)
OKLCHoklch(48.24% 0.196 279.2)
XYZxyz(15.6920, 10.0449, 55.7443)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45C8 #BFC845
analogous
#457EC8 #4E45C8 #8F45C8
triadic
#4E45C8 #C84E45 #45C84E
tetradic
#4E45C8 #C8457E #BFC845 #45C88F
square
#4E45C8 #C8457E #BFC845 #45C88F
split-complementary
#4E45C8 #C88F45 #7EC845
monochromatic
#272171 #372FA0 #4E45C8 #7B74D6 #A8A3E4

Accessibility & contrast

On white

6.98
#4E45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45C8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45C8#FFFFFF#000000##FFFFFF
##4E45C81.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e45c8;
/* rgb */ color: rgb(78, 69, 200);
/* oklch */ color: oklch(48.2% 0.196 279.2);
Tailwind
colors: {
  custom: {
    50: '#8d79da',
    500: '#4e45c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e45c8;
$custom-light: #8d79da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45c8",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 244.122,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.4824,
    "c": 0.19558,
    "h": 279.2
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#4E45C8
secondary
#CDD198
accent
#DE4AD4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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