#4E4FB7#4E4FB7

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

Color values

HEX#4E4FB7
RGBrgb(78, 79, 183)
HSLhsl(239, 42%, 51%)
HSVhsv(239, 57%, 72%)
CMYKcmyk(57.4%, 56.8%, 0%, 28.2%)
CIE-LABlab(38.95, 30.21, -55.42)
CIE-LCHlch(38.95, 63.11, 298.59°)
OKLaboklab(48.58% 0.0229 -0.1589)
OKLCHoklch(48.58% 0.161 278.2)
XYZxyz(14.4824, 10.6296, 46.0791)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FB7 #B7B64E
analogous
#4E83B7 #4E4FB7 #814EB7
triadic
#4E4FB7 #B74E4F #4FB74E
tetradic
#4E4FB7 #B74E83 #B7B64E #4EB781
square
#4E4FB7 #B74E83 #B7B64E #4EB781
split-complementary
#4E4FB7 #B7814E #83B74E
monochromatic
#282963 #3A3B8E #4E4FB7 #7A7AC9 #A5A6DA

Accessibility & contrast

On white

6.72
#4E4FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4E4FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FB7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FB7#FFFFFF#000000##FFFFFF
##4E4FB71.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#10677B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e4fb7;
/* rgb */ color: rgb(78, 79, 183);
/* oklch */ color: oklch(48.6% 0.161 278.2);
Tailwind
colors: {
  custom: {
    50: '#8980cd',
    500: '#4e4fb7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fb7;
$custom-light: #8980cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fb7",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 239.429,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48581,
    "c": 0.16053,
    "h": 278.2
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#4E4FB7
secondary
#C8C799
accent
#D156D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4E4FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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