#4E4FB8#4E4FB8

#4E4FB8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.162 H 278.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4E4FB8
RGBrgb(78, 79, 184)
HSLhsl(239, 43%, 51%)
HSVhsv(239, 58%, 72%)
CMYKcmyk(57.6%, 57.1%, 0%, 27.8%)
CIE-LABlab(39.02, 30.54, -55.89)
CIE-LCHlch(39.02, 63.69, 298.65°)
OKLaboklab(48.66% 0.0229 -0.1603)
OKLCHoklch(48.66% 0.162 278.1)
XYZxyz(14.5868, 10.6713, 46.6292)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FB8 #B8B74E
analogous
#4E84B8 #4E4FB8 #824EB8
triadic
#4E4FB8 #B84E4F #4FB84E
tetradic
#4E4FB8 #B84E84 #B8B74E #4EB882
square
#4E4FB8 #B84E84 #B8B74E #4EB882
split-complementary
#4E4FB8 #B8824E #84B84E
monochromatic
#282964 #393A8F #4E4FB8 #7A7ACA #A5A6DB

Accessibility & contrast

On white

6.70
#4E4FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E4FB8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FB8#FFFFFF#000000##FFFFFF
##4E4FB81.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#0D687C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e4fb8;
/* rgb */ color: rgb(78, 79, 184);
/* oklch */ color: oklch(48.7% 0.162 278.1);
Tailwind
colors: {
  custom: {
    50: '#8980ce',
    500: '#4e4fb8',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fb8;
$custom-light: #8980ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fb8",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 239.434,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.16191,
    "h": 278.1
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#4E4FB8
secondary
#C8C89A
accent
#D155D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4E4FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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