#4E4EB0#4E4EB0

#4E4EB0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.152 H 279.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4E4EB0
RGBrgb(78, 78, 176)
HSLhsl(240, 39%, 50%)
HSVhsv(240, 56%, 69%)
CMYKcmyk(55.7%, 55.7%, 0%, 31%)
CIE-LABlab(38.20, 28.53, -52.50)
CIE-LCHlch(38.20, 59.75, 298.52°)
OKLaboklab(47.87% 0.0237 -0.1503)
OKLCHoklch(47.87% 0.152 279)
XYZxyz(13.7003, 10.2022, 42.3132)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EB0 #B0B04E
analogous
#4E7FB0 #4E4EB0 #7F4EB0
triadic
#4E4EB0 #B04E4E #4EB04E
tetradic
#4E4EB0 #B04E7F #B0B04E #4EB07F
square
#4E4EB0 #B04E7F #B0B04E #4EB07F
split-complementary
#4E4EB0 #B07F4E #7FB04E
monochromatic
#28285B #3B3B86 #4E4EB0 #7878C3 #A2A2D6

Accessibility & contrast

On white

6.91
#4E4EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4E4EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EB0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EB0#FFFFFF#000000##FFFFFF
##4E4EB01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095EB3
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#1D6577
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4eb0;
/* rgb */ color: rgb(78, 78, 176);
/* oklch */ color: oklch(47.9% 0.152 279.0);
Tailwind
colors: {
  custom: {
    50: '#887fc8',
    500: '#4e4eb0',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eb0;
$custom-light: #887fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eb0",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 240,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47868,
    "c": 0.15218,
    "h": 279
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#4E4EB0
secondary
#C3C397
accent
#CF59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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