#4E4EB7#4E4EB7

#4E4EB7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.162 H 278.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4E4EB7
RGBrgb(78, 78, 183)
HSLhsl(240, 42%, 51%)
HSVhsv(240, 57%, 72%)
CMYKcmyk(57.4%, 57.4%, 0%, 28.2%)
CIE-LABlab(38.70, 30.83, -55.82)
CIE-LCHlch(38.70, 63.77, 298.92°)
OKLaboklab(48.4% 0.0239 -0.1601)
OKLCHoklch(48.4% 0.162 278.5)
XYZxyz(14.4108, 10.4864, 46.0553)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EB7 #B7B74E
analogous
#4E82B7 #4E4EB7 #824EB7
triadic
#4E4EB7 #B74E4E #4EB74E
tetradic
#4E4EB7 #B74E82 #B7B74E #4EB782
square
#4E4EB7 #B74E82 #B7B74E #4EB782
split-complementary
#4E4EB7 #B7824E #82B74E
monochromatic
#282863 #3A3A8E #4E4EB7 #7A7AC9 #A5A5DA

Accessibility & contrast

On white

6.78
#4E4EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E4EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EB7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EB7#FFFFFF#000000##FFFFFF
##4E4EB71.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#10677B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4eb7;
/* rgb */ color: rgb(78, 78, 183);
/* oklch */ color: oklch(48.4% 0.162 278.5);
Tailwind
colors: {
  custom: {
    50: '#897fcd',
    500: '#4e4eb7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eb7;
$custom-light: #897fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eb7",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 240,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.16186,
    "h": 278.5
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#4E4EB7
secondary
#C8C899
accent
#D256D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4E4EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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