#4E45CC#4E45CC

#4E45CC is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.6% C 0.201 H 278.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4E45CC
RGBrgb(78, 69, 204)
HSLhsl(244, 57%, 54%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(61.8%, 66.2%, 0%, 20%)
CIE-LABlab(38.26, 43.15, -68.80)
CIE-LCHlch(38.26, 81.21, 302.10°)
OKLaboklab(48.59% 0.0308 -0.1983)
OKLCHoklch(48.59% 0.201 278.8)
XYZxyz(16.1656, 10.2343, 58.2386)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45CC #C3CC45
analogous
#457FCC #4E45CC #9145CC
triadic
#4E45CC #CC4E45 #45CC4E
tetradic
#4E45CC #CC457F #C3CC45 #45CC91
square
#4E45CC #CC457F #C3CC45 #45CC91
split-complementary
#4E45CC #CC9145 #7FCC45
monochromatic
#262076 #362EA6 #4E45CC #7C75D9 #A9A5E6

Accessibility & contrast

On white

6.89
#4E45CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4E45CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45CC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45CC#FFFFFF#000000##FFFFFF
##4E45CC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e45cc;
/* rgb */ color: rgb(78, 69, 204);
/* oklch */ color: oklch(48.6% 0.201 278.8);
Tailwind
colors: {
  custom: {
    50: '#8d7add',
    500: '#4e45cc',
    950: '#000000',
  },
}
SCSS
$custom: #4e45cc;
$custom-light: #8d7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45cc",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 244,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48588,
    "c": 0.20065,
    "h": 278.8
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#4E45CC
secondary
#CFD399
accent
#E048D6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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