#4E4EA2#4E4EA2

#4E4EA2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.132 H 280.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4E4EA2
RGBrgb(78, 78, 162)
HSLhsl(240, 35%, 47%)
HSVhsv(240, 52%, 64%)
CMYKcmyk(51.9%, 51.9%, 0%, 36.5%)
CIE-LABlab(37.26, 23.94, -45.69)
CIE-LCHlch(37.26, 51.59, 297.66°)
OKLaboklab(46.86% 0.023 -0.1303)
OKLCHoklch(46.86% 0.132 280)
XYZxyz(12.3859, 9.6764, 35.3905)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EA2 #A2A24E
analogous
#4E78A2 #4E4EA2 #784EA2
triadic
#4E4EA2 #A24E4E #4EA24E
tetradic
#4E4EA2 #A24E78 #A2A24E #4EA278
square
#4E4EA2 #A24E78 #A2A24E #4EA278
split-complementary
#4E4EA2 #A2784E #78A24E
monochromatic
#26264F #3A3A79 #4E4EA2 #7272BB #9B9BCF

Accessibility & contrast

On white

7.15
#4E4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4E4EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4EA2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EA2#FFFFFF#000000##FFFFFF
##4E4EA21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#1B54A0
Tritanopia (blue-blind)
#2C6170
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4ea2;
/* rgb */ color: rgb(78, 78, 162);
/* oklch */ color: oklch(46.9% 0.132 280.0);
Tailwind
colors: {
  custom: {
    50: '#867fbe',
    500: '#4e4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ea2;
$custom-light: #867fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ea2",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.13232,
    "h": 280
  },
  "luminance": 0.09677
}

Semantic roles & 50–950 ramp

primary
#4E4EA2
secondary
#BCBC90
accent
#CB5DCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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