#4E46EF#4E46EF

#4E46EF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.9% C 0.242 H 275.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4E46EF
RGBrgb(78, 70, 239)
HSLhsl(243, 84%, 61%)
HSVhsv(243, 71%, 94%)
CMYKcmyk(67.4%, 70.7%, 0%, 6.3%)
CIE-LABlab(41.58, 53.64, -83.35)
CIE-LCHlch(41.58, 99.12, 302.76°)
OKLaboklab(51.92% 0.0251 -0.2408)
OKLCHoklch(51.92% 0.242 275.9)
XYZxyz(20.9069, 12.2301, 82.9035)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46EF #E7EF46
analogous
#4692EF #4E46EF #A246EF
triadic
#4E46EF #EF4E46 #46EF4E
tetradic
#4E46EF #EF4692 #E7EF46 #46EFA2
square
#4E46EF #EF4692 #E7EF46 #46EFA2
split-complementary
#4E46EF #EFA246 #92EF46
monochromatic
#160FAC #1E14E4 #4E46EF #847EF4 #BAB7F9

Accessibility & contrast

On white

6.09
#4E46EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E46EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46EF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46EF#FFFFFF#000000##FFFFFF
##4E46EF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e46ef;
/* rgb */ color: rgb(78, 70, 239);
/* oklch */ color: oklch(51.9% 0.242 275.9);
Tailwind
colors: {
  custom: {
    50: '#947bf6',
    500: '#4e46ef',
    950: '#000000',
  },
}
SCSS
$custom: #4e46ef;
$custom-light: #947bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46ef",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 242.84,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.24215,
    "h": 275.9
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#4E46EF
secondary
#E5E9A8
accent
#E105D6
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4E46EF

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

Preview Lab → · Contrast checker → · Palette generator →

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