#4E45CF#4E45CF

#4E45CF is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.204 H 278.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4E45CF
RGBrgb(78, 69, 207)
HSLhsl(244, 59%, 54%)
HSVhsv(244, 67%, 81%)
CMYKcmyk(62.3%, 66.7%, 0%, 18.8%)
CIE-LABlab(38.52, 44.11, -70.11)
CIE-LCHlch(38.52, 82.83, 302.17°)
OKLaboklab(48.85% 0.0305 -0.2021)
OKLCHoklch(48.85% 0.204 278.6)
XYZxyz(16.5289, 10.3797, 60.1518)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45CF #C6CF45
analogous
#4581CF #4E45CF #9345CF
triadic
#4E45CF #CF4E45 #45CF4E
tetradic
#4E45CF #CF4581 #C6CF45 #45CF93
square
#4E45CF #CF4581 #C6CF45 #45CF93
split-complementary
#4E45CF #CF9345 #81CF45
monochromatic
#25207A #342CAB #4E45CF #7C76DC #ABA6E8

Accessibility & contrast

On white

6.83
#4E45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45CF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45CF#FFFFFF#000000##FFFFFF
##4E45CF1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e45cf;
/* rgb */ color: rgb(78, 69, 207);
/* oklch */ color: oklch(48.9% 0.204 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e7adf',
    500: '#4e45cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e45cf;
$custom-light: #8e7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45cf",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 243.913,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48852,
    "c": 0.20441,
    "h": 278.6
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#4E45CF
secondary
#D1D59B
accent
#E246D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4E45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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