#4E4FD1#4E4FD1

#4E4FD1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.7% C 0.195 H 276.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4E4FD1
RGBrgb(78, 79, 209)
HSLhsl(240, 59%, 56%)
HSVhsv(240, 63%, 82%)
CMYKcmyk(62.7%, 62.2%, 0%, 18%)
CIE-LABlab(40.92, 38.80, -67.34)
CIE-LCHlch(40.92, 77.72, 299.95°)
OKLaboklab(50.65% 0.0222 -0.194)
OKLCHoklch(50.65% 0.195 276.5)
XYZxyz(17.4427, 11.8137, 61.6703)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FD1 #D1D04E
analogous
#4E91D1 #4E4FD1 #8F4ED1
triadic
#4E4FD1 #D14E4F #4FD14E
tetradic
#4E4FD1 #D14E91 #D1D04E #4ED18F
square
#4E4FD1 #D14E91 #D1D04E #4ED18F
split-complementary
#4E4FD1 #D18F4E #91D14E
monochromatic
#222383 #2F30B3 #4E4FD1 #7F7FDE #AFB0EA

Accessibility & contrast

On white

6.24
#4E4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E4FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FD1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FD1#FFFFFF#000000##FFFFFF
##4E4FD11.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#005BCE
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e4fd1;
/* rgb */ color: rgb(78, 79, 209);
/* oklch */ color: oklch(50.7% 0.195 276.5);
Tailwind
colors: {
  custom: {
    50: '#8d80e0',
    500: '#4e4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fd1;
$custom-light: #8d80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fd1",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 239.542,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.19523,
    "h": 276.5
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#4E4FD1
secondary
#D8D8A2
accent
#E146E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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