#4E4E8F#4E4E8F

#4E4E8F is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.6% C 0.104 H 281.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4E4E8F
RGBrgb(78, 78, 143)
HSLhsl(240, 29%, 43%)
HSVhsv(240, 45%, 56%)
CMYKcmyk(45.5%, 45.5%, 0%, 43.9%)
CIE-LABlab(36.08, 17.85, -36.10)
CIE-LCHlch(36.08, 40.27, 296.31°)
OKLaboklab(45.59% 0.0207 -0.1021)
OKLCHoklch(45.59% 0.104 281.5)
XYZxyz(10.8227, 9.0512, 27.1581)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E8F #8F8F4E
analogous
#4E6E8F #4E4E8F #6E4E8F
triadic
#4E4E8F #8F4E4E #4E8F4E
tetradic
#4E4E8F #8F4E6E #8F8F4E #4E8F6E
square
#4E4E8F #8F4E6E #8F8F4E #4E8F6E
split-complementary
#4E4E8F #8F6E4E #6E8F4E
monochromatic
#232340 #383867 #4E4E8F #6C6CAF #9393C4

Accessibility & contrast

On white

7.47
#4E4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4E4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E8F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E8F#FFFFFF#000000##FFFFFF
##4E4E8F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#31538E
Tritanopia (blue-blind)
#395B67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4e8f;
/* rgb */ color: rgb(78, 78, 143);
/* oklch */ color: oklch(45.6% 0.104 281.5);
Tailwind
colors: {
  custom: {
    50: '#837fb0',
    500: '#4e4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e8f;
$custom-light: #837fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e8f",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.10422,
    "h": 281.5
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#4E4E8F
secondary
#B1B188
accent
#C662C6
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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