#4E45C9#4E45C9

#4E45C9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.197 H 279.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4E45C9
RGBrgb(78, 69, 201)
HSLhsl(244, 55%, 53%)
HSVhsv(244, 66%, 79%)
CMYKcmyk(61.2%, 65.7%, 0%, 21.2%)
CIE-LABlab(38.01, 42.19, -67.47)
CIE-LCHlch(38.01, 79.57, 302.02°)
OKLaboklab(48.33% 0.0312 -0.1944)
OKLCHoklch(48.33% 0.197 279.1)
XYZxyz(15.8093, 10.0918, 56.3618)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45C9 #C0C945
analogous
#457EC9 #4E45C9 #9045C9
triadic
#4E45C9 #C94E45 #45C94E
tetradic
#4E45C9 #C9457E #C0C945 #45C990
square
#4E45C9 #C9457E #C0C945 #45C990
split-complementary
#4E45C9 #C99045 #7EC945
monochromatic
#272172 #372FA2 #4E45C9 #7B74D7 #A8A4E5

Accessibility & contrast

On white

6.96
#4E45C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E45C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45C9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45C9#FFFFFF#000000##FFFFFF
##4E45C91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e45c9;
/* rgb */ color: rgb(78, 69, 201);
/* oklch */ color: oklch(48.3% 0.197 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d7ada',
    500: '#4e45c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e45c9;
$custom-light: #8d7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45c9",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 244.091,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48327,
    "c": 0.19686,
    "h": 279.1
  },
  "luminance": 0.10093
}

Semantic roles & 50–950 ramp

primary
#4E45C9
secondary
#CED198
accent
#DE49D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E45C9

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

Preview Lab → · Contrast checker → · Palette generator →

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