#4E4DCA#4E4DCA

#4E4DCA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.189 H 277.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4E4DCA
RGBrgb(78, 77, 202)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 62%, 79%)
CMYKcmyk(61.4%, 61.9%, 0%, 20.8%)
CIE-LABlab(39.90, 37.71, -64.96)
CIE-LCHlch(39.90, 75.11, 300.14°)
OKLaboklab(49.73% 0.0243 -0.187)
OKLCHoklch(49.73% 0.189 277.4)
XYZxyz(16.4530, 11.1904, 57.1586)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4DCA #C9CA4D
analogous
#4D8BCA #4E4DCA #8D4DCA
triadic
#4E4DCA #CA4E4D #4DCA4E
tetradic
#4E4DCA #CA4D8B #C9CA4D #4DCA8D
square
#4E4DCA #CA4D8B #C9CA4D #4DCA8D
split-complementary
#4E4DCA #CA8D4D #8BCA4D
monochromatic
#252479 #3332A8 #4E4DCA #7D7CD8 #ACABE6

Accessibility & contrast

On white

6.48
#4E4DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4DCA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4DCA#FFFFFF#000000##FFFFFF
##4E4DCA1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e4dca;
/* rgb */ color: rgb(78, 77, 202);
/* oklch */ color: oklch(49.7% 0.189 277.4);
Tailwind
colors: {
  custom: {
    50: '#8c7fdb',
    500: '#4e4dca',
    950: '#000000',
  },
}
SCSS
$custom: #4e4dca;
$custom-light: #8c7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4dca",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 240.48,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.18855,
    "h": 277.4
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#4E4DCA
secondary
#D3D49F
accent
#DD4ADC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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