#4E45EF#4E45EF

#4E45EF is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.8% C 0.243 H 276.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4E45EF
RGBrgb(78, 69, 239)
HSLhsl(243, 84%, 60%)
HSVhsv(243, 71%, 94%)
CMYKcmyk(67.4%, 71.1%, 0%, 6.3%)
CIE-LABlab(41.38, 54.18, -83.67)
CIE-LCHlch(41.38, 99.68, 302.92°)
OKLaboklab(51.78% 0.0257 -0.2418)
OKLCHoklch(51.78% 0.243 276.1)
XYZxyz(20.8449, 12.1061, 82.8828)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45EF #E6EF45
analogous
#4591EF #4E45EF #A345EF
triadic
#4E45EF #EF4E45 #45EF4E
tetradic
#4E45EF #EF4591 #E6EF45 #45EFA3
square
#4E45EF #EF4591 #E6EF45 #45EFA3
split-complementary
#4E45EF #EFA345 #91EF45
monochromatic
#170FAB #1F14E3 #4E45EF #847DF4 #B9B6F9

Accessibility & contrast

On white

6.14
#4E45EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E45EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45EF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45EF#FFFFFF#000000##FFFFFF
##4E45EF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F4
Deuteranopia (green-blind)
#005AEC
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e45ef;
/* rgb */ color: rgb(78, 69, 239);
/* oklch */ color: oklch(51.8% 0.243 276.1);
Tailwind
colors: {
  custom: {
    50: '#947bf6',
    500: '#4e45ef',
    950: '#000000',
  },
}
SCSS
$custom: #4e45ef;
$custom-light: #947bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45ef",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 239
  },
  "hsl": {
    "h": 243.176,
    "s": 84.158,
    "l": 60.392
  },
  "oklch": {
    "l": 0.51783,
    "c": 0.24315,
    "h": 276.1
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

primary
#4E45EF
secondary
#E5E8A7
accent
#E105D5
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4E45EF

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

Preview Lab → · Contrast checker → · Palette generator →

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