#4E4EB3#4E4EB3

#4E4EB3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.156 H 278.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4E4EB3
RGBrgb(78, 78, 179)
HSLhsl(240, 40%, 50%)
HSVhsv(240, 56%, 70%)
CMYKcmyk(56.4%, 56.4%, 0%, 29.8%)
CIE-LABlab(38.41, 29.52, -53.93)
CIE-LCHlch(38.41, 61.47, 298.69°)
OKLaboklab(48.09% 0.0238 -0.1545)
OKLCHoklch(48.09% 0.156 278.8)
XYZxyz(14.0004, 10.3222, 43.8937)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EB3 #B3B34E
analogous
#4E80B3 #4E4EB3 #804EB3
triadic
#4E4EB3 #B34E4E #4EB34E
tetradic
#4E4EB3 #B34E80 #B3B34E #4EB380
square
#4E4EB3 #B34E80 #B3B34E #4EB380
split-complementary
#4E4EB3 #B3804E #80B34E
monochromatic
#28285E #3B3B89 #4E4EB3 #7979C5 #A4A4D8

Accessibility & contrast

On white

6.85
#4E4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E4EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EB3
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EB3#FFFFFF#000000##FFFFFF
##4E4EB31.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#186579
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4eb3;
/* rgb */ color: rgb(78, 78, 179);
/* oklch */ color: oklch(48.1% 0.156 278.8);
Tailwind
colors: {
  custom: {
    50: '#887fca',
    500: '#4e4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eb3;
$custom-light: #887fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eb3",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.15636,
    "h": 278.8
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#4E4EB3
secondary
#C5C598
accent
#D058D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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