#4E4E9F#4E4E9F

#4E4E9F is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.128 H 280.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4E4E9F
RGBrgb(78, 78, 159)
HSLhsl(240, 34%, 46%)
HSVhsv(240, 51%, 62%)
CMYKcmyk(50.9%, 50.9%, 0%, 37.6%)
CIE-LABlab(37.06, 22.97, -44.21)
CIE-LCHlch(37.06, 49.82, 297.46°)
OKLaboklab(46.65% 0.0227 -0.1259)
OKLCHoklch(46.65% 0.128 280.2)
XYZxyz(12.1224, 9.5710, 34.0028)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E9F #9F9F4E
analogous
#4E779F #4E4E9F #774E9F
triadic
#4E4E9F #9F4E4E #4E9F4E
tetradic
#4E4E9F #9F4E77 #9F9F4E #4E9F77
square
#4E4E9F #9F4E77 #9F9F4E #4E9F77
split-complementary
#4E4E9F #9F774E #779F4E
monochromatic
#26264D #3A3A76 #4E4E9F #7171B9 #9A9ACD

Accessibility & contrast

On white

7.21
#4E4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E4E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E9F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E9F#FFFFFF#000000##FFFFFF
##4E4E9F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA2
Deuteranopia (green-blind)
#20549D
Tritanopia (blue-blind)
#2E606F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4e9f;
/* rgb */ color: rgb(78, 78, 159);
/* oklch */ color: oklch(46.6% 0.128 280.2);
Tailwind
colors: {
  custom: {
    50: '#857fbc',
    500: '#4e4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e9f;
$custom-light: #857fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e9f",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46648,
    "c": 0.12797,
    "h": 280.2
  },
  "luminance": 0.09572
}

Semantic roles & 50–950 ramp

primary
#4E4E9F
secondary
#BABA8F
accent
#CA5ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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