#4E4EB9#4E4EB9

#4E4EB9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.165 H 278.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4E4EB9
RGBrgb(78, 78, 185)
HSLhsl(240, 43%, 52%)
HSVhsv(240, 58%, 73%)
CMYKcmyk(57.8%, 57.8%, 0%, 27.5%)
CIE-LABlab(38.85, 31.49, -56.76)
CIE-LCHlch(38.85, 64.91, 299.02°)
OKLaboklab(48.55% 0.0239 -0.1629)
OKLCHoklch(48.55% 0.165 278.3)
XYZxyz(14.6204, 10.5702, 47.1594)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EB9 #B9B94E
analogous
#4E84B9 #4E4EB9 #844EB9
triadic
#4E4EB9 #B94E4E #4EB94E
tetradic
#4E4EB9 #B94E84 #B9B94E #4EB984
square
#4E4EB9 #B94E84 #B9B94E #4EB984
split-complementary
#4E4EB9 #B9844E #84B94E
monochromatic
#282865 #393991 #4E4EB9 #7A7ACA #A6A6DC

Accessibility & contrast

On white

6.74
#4E4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E4EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EB9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EB9#FFFFFF#000000##FFFFFF
##4E4EB91.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#0A677C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4eb9;
/* rgb */ color: rgb(78, 78, 185);
/* oklch */ color: oklch(48.6% 0.165 278.3);
Tailwind
colors: {
  custom: {
    50: '#897fcf',
    500: '#4e4eb9',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eb9;
$custom-light: #897fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eb9",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 240,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48551,
    "c": 0.1646,
    "h": 278.3
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#4E4EB9
secondary
#C9C99A
accent
#D355D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E4EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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