#4E4FC6#4E4FC6

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

Color values

HEX#4E4FC6
RGBrgb(78, 79, 198)
HSLhsl(240, 51%, 54%)
HSVhsv(240, 61%, 78%)
CMYKcmyk(60.6%, 60.1%, 0%, 22.4%)
CIE-LABlab(40.06, 35.17, -62.38)
CIE-LCHlch(40.06, 71.61, 299.41°)
OKLaboklab(49.75% 0.0227 -0.1794)
OKLCHoklch(49.75% 0.181 277.2)
XYZxyz(16.1276, 11.2877, 54.7440)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FC6 #C6C54E
analogous
#4E8BC6 #4E4FC6 #894EC6
triadic
#4E4FC6 #C64E4F #4FC64E
tetradic
#4E4FC6 #C64E8B #C6C54E #4EC689
square
#4E4FC6 #C64E8B #C6C54E #4EC689
split-complementary
#4E4FC6 #C6894E #8BC64E
monochromatic
#252674 #3435A2 #4E4FC6 #7C7DD5 #ABABE4

Accessibility & contrast

On white

6.45
#4E4FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4E4FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FC6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FC6#FFFFFF#000000##FFFFFF
##4E4FC61.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e4fc6;
/* rgb */ color: rgb(78, 79, 198);
/* oklch */ color: oklch(49.8% 0.181 277.2);
Tailwind
colors: {
  custom: {
    50: '#8b80d8',
    500: '#4e4fc6',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fc6;
$custom-light: #8b80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fc6",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 239.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.18081,
    "h": 277.2
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#4E4FC6
secondary
#D1D19E
accent
#DA4DDB
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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