#4E4FC5#4E4FC5

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

Color values

HEX#4E4FC5
RGBrgb(78, 79, 197)
HSLhsl(239, 51%, 54%)
HSVhsv(239, 60%, 77%)
CMYKcmyk(60.4%, 59.9%, 0%, 22.7%)
CIE-LABlab(39.98, 34.84, -61.92)
CIE-LCHlch(39.98, 71.05, 299.36°)
OKLaboklab(49.67% 0.0227 -0.178)
OKLCHoklch(49.67% 0.179 277.3)
XYZxyz(16.0127, 11.2417, 54.1385)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FC5 #C5C44E
analogous
#4E8BC5 #4E4FC5 #894EC5
triadic
#4E4FC5 #C54E4F #4FC54E
tetradic
#4E4FC5 #C54E8B #C5C44E #4EC589
square
#4E4FC5 #C54E8B #C5C44E #4EC589
split-complementary
#4E4FC5 #C5894E #8BC54E
monochromatic
#262673 #3536A1 #4E4FC5 #7C7DD4 #AAABE3

Accessibility & contrast

On white

6.46
#4E4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E4FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FC5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FC5#FFFFFF#000000##FFFFFF
##4E4FC51.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e4fc5;
/* rgb */ color: rgb(78, 79, 197);
/* oklch */ color: oklch(49.7% 0.179 277.3);
Tailwind
colors: {
  custom: {
    50: '#8b80d7',
    500: '#4e4fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fc5;
$custom-light: #8b80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fc5",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 239.496,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.17948,
    "h": 277.3
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#4E4FC5
secondary
#D1D09E
accent
#D94EDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E4FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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