#4E46CD#4E46CD

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

Color values

HEX#4E46CD
RGBrgb(78, 70, 205)
HSLhsl(244, 57%, 54%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(62%, 65.9%, 0%, 19.6%)
CIE-LABlab(38.56, 42.88, -68.88)
CIE-LCHlch(38.56, 81.14, 301.90°)
OKLaboklab(48.83% 0.0299 -0.1985)
OKLCHoklch(48.83% 0.201 278.6)
XYZxyz(16.3480, 10.4065, 58.8929)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46CD #C5CD46
analogous
#4682CD #4E46CD #9246CD
triadic
#4E46CD #CD4E46 #46CD4E
tetradic
#4E46CD #CD4682 #C5CD46 #46CD92
square
#4E46CD #CD4682 #C5CD46 #46CD92
split-complementary
#4E46CD #CD9246 #82CD46
monochromatic
#262078 #352DA8 #4E46CD #7C76DA #AAA6E7

Accessibility & contrast

On white

6.81
#4E46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E46CD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46CD#FFFFFF#000000##FFFFFF
##4E46CD1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e46cd;
/* rgb */ color: rgb(78, 70, 205);
/* oklch */ color: oklch(48.8% 0.201 278.6);
Tailwind
colors: {
  custom: {
    50: '#8d7add',
    500: '#4e46cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e46cd;
$custom-light: #8d7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46cd",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 243.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.20075,
    "h": 278.6
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#4E46CD
secondary
#D1D49B
accent
#E147D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4E46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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