#4E4FB9#4E4FB9

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

Color values

HEX#4E4FB9
RGBrgb(78, 79, 185)
HSLhsl(239, 43%, 52%)
HSVhsv(239, 58%, 73%)
CMYKcmyk(57.8%, 57.3%, 0%, 27.5%)
CIE-LABlab(39.09, 30.87, -56.36)
CIE-LCHlch(39.09, 64.26, 298.71°)
OKLaboklab(48.73% 0.0229 -0.1617)
OKLCHoklch(48.73% 0.163 278.1)
XYZxyz(14.6920, 10.7134, 47.1832)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FB9 #B9B84E
analogous
#4E85B9 #4E4FB9 #834EB9
triadic
#4E4FB9 #B94E4F #4FB94E
tetradic
#4E4FB9 #B94E85 #B9B84E #4EB983
square
#4E4FB9 #B94E85 #B9B84E #4EB983
split-complementary
#4E4FB9 #B9834E #85B94E
monochromatic
#282865 #393A91 #4E4FB9 #7A7BCA #A6A6DC

Accessibility & contrast

On white

6.68
#4E4FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4E4FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FB9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FB9#FFFFFF#000000##FFFFFF
##4E4FB91.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#0A687C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e4fb9;
/* rgb */ color: rgb(78, 79, 185);
/* oklch */ color: oklch(48.7% 0.163 278.1);
Tailwind
colors: {
  custom: {
    50: '#8980cf',
    500: '#4e4fb9',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fb9;
$custom-light: #8980cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fb9",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 239.439,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.16328,
    "h": 278.1
  },
  "luminance": 0.10714
}

Semantic roles & 50–950 ramp

primary
#4E4FB9
secondary
#C9C89A
accent
#D255D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4E4FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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