#4E4EC2#4E4EC2

#4E4EC2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.177 H 277.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4E4EC2
RGBrgb(78, 78, 194)
HSLhsl(240, 49%, 53%)
HSVhsv(240, 60%, 76%)
CMYKcmyk(59.8%, 59.8%, 0%, 23.9%)
CIE-LABlab(39.52, 34.46, -60.93)
CIE-LCHlch(39.52, 70.01, 299.49°)
OKLaboklab(49.26% 0.0237 -0.1751)
OKLCHoklch(49.26% 0.177 277.7)
XYZxyz(15.6008, 10.9624, 52.3223)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EC2 #C2C24E
analogous
#4E88C2 #4E4EC2 #884EC2
triadic
#4E4EC2 #C24E4E #4EC24E
tetradic
#4E4EC2 #C24E88 #C2C24E #4EC288
square
#4E4EC2 #C24E88 #C2C24E #4EC288
split-complementary
#4E4EC2 #C2884E #88C24E
monochromatic
#26266F #36369D #4E4EC2 #7C7CD2 #A9A9E1

Accessibility & contrast

On white

6.58
#4E4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4E4EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EC2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EC2#FFFFFF#000000##FFFFFF
##4E4EC21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e4ec2;
/* rgb */ color: rgb(78, 78, 194);
/* oklch */ color: oklch(49.3% 0.177 277.7);
Tailwind
colors: {
  custom: {
    50: '#8b80d5',
    500: '#4e4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ec2;
$custom-light: #8b80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ec2",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 240,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.17674,
    "h": 277.7
  },
  "luminance": 0.10964
}

Semantic roles & 50–950 ramp

primary
#4E4EC2
secondary
#CFCF9D
accent
#D850D8
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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