#4E4FC7#4E4FC7

#4E4FC7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.182 H 277.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4E4FC7
RGBrgb(78, 79, 199)
HSLhsl(240, 52%, 54%)
HSVhsv(240, 61%, 78%)
CMYKcmyk(60.8%, 60.3%, 0%, 22%)
CIE-LABlab(40.14, 35.50, -62.83)
CIE-LCHlch(40.14, 72.17, 299.46°)
OKLaboklab(49.84% 0.0227 -0.1807)
OKLCHoklch(49.84% 0.182 277.1)
XYZxyz(16.2433, 11.3339, 55.3535)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FC7 #C7C64E
analogous
#4E8CC7 #4E4FC7 #8A4EC7
triadic
#4E4FC7 #C74E4F #4FC74E
tetradic
#4E4FC7 #C74E8C #C7C64E #4EC78A
square
#4E4FC7 #C74E8C #C7C64E #4EC78A
split-complementary
#4E4FC7 #C78A4E #8CC74E
monochromatic
#252675 #3435A4 #4E4FC7 #7C7DD6 #ABABE4

Accessibility & contrast

On white

6.43
#4E4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FC7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FC7#FFFFFF#000000##FFFFFF
##4E4FC71.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e4fc7;
/* rgb */ color: rgb(78, 79, 199);
/* oklch */ color: oklch(49.8% 0.182 277.1);
Tailwind
colors: {
  custom: {
    50: '#8c80d9',
    500: '#4e4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fc7;
$custom-light: #8c80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fc7",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 239.504,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.18214,
    "h": 277.1
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#4E4FC7
secondary
#D2D29F
accent
#DA4CDB
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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