#4E4FC4#4E4FC4

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

Color values

HEX#4E4FC4
RGBrgb(78, 79, 196)
HSLhsl(239, 50%, 54%)
HSVhsv(239, 60%, 77%)
CMYKcmyk(60.2%, 59.7%, 0%, 23.1%)
CIE-LABlab(39.91, 34.51, -61.46)
CIE-LCHlch(39.91, 70.49, 299.31°)
OKLaboklab(49.59% 0.0228 -0.1767)
OKLCHoklch(49.59% 0.178 277.3)
XYZxyz(15.8985, 11.1960, 53.5371)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FC4 #C4C34E
analogous
#4E8AC4 #4E4FC4 #884EC4
triadic
#4E4FC4 #C44E4F #4FC44E
tetradic
#4E4FC4 #C44E8A #C4C34E #4EC488
square
#4E4FC4 #C44E8A #C4C34E #4EC488
split-complementary
#4E4FC4 #C4884E #8AC44E
monochromatic
#262772 #3536A0 #4E4FC4 #7C7DD3 #AAAAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4FC4#FFFFFF#000000##FFFFFF
##4E4FC41.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)
#0063C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e4fc4;
/* rgb */ color: rgb(78, 79, 196);
/* oklch */ color: oklch(49.6% 0.178 277.3);
Tailwind
colors: {
  custom: {
    50: '#8b80d7',
    500: '#4e4fc4',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fc4;
$custom-light: #8b80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fc4",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 239.492,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49594,
    "c": 0.17815,
    "h": 277.3
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#4E4FC4
secondary
#D0D09E
accent
#D84EDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E4FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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