#4E4F98#4E4F98

#4E4F98 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.4% C 0.116 H 280.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4E4F98
RGBrgb(78, 79, 152)
HSLhsl(239, 32%, 45%)
HSVhsv(239, 49%, 60%)
CMYKcmyk(48.7%, 48%, 0%, 40.4%)
CIE-LABlab(36.89, 20.07, -40.27)
CIE-LCHlch(36.89, 44.99, 296.49°)
OKLaboklab(46.38% 0.0207 -0.1144)
OKLCHoklch(46.38% 0.116 280.3)
XYZxyz(11.6036, 9.4781, 30.9177)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F98 #98974E
analogous
#4E7498 #4E4F98 #724E98
triadic
#4E4F98 #984E4F #4F984E
tetradic
#4E4F98 #984E74 #98974E #4E9872
square
#4E4F98 #984E74 #98974E #4E9872
split-complementary
#4E4F98 #98724E #74984E
monochromatic
#242547 #393A70 #4E4F98 #6E6FB5 #9798CA

Accessibility & contrast

On white

7.25
#4E4F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E4F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F98
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F98#FFFFFF#000000##FFFFFF
##4E4F981.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#335E6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4f98;
/* rgb */ color: rgb(78, 79, 152);
/* oklch */ color: oklch(46.4% 0.116 280.3);
Tailwind
colors: {
  custom: {
    50: '#8480b7',
    500: '#4e4f98',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f98;
$custom-light: #8480b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f98",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 239.189,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46377,
    "c": 0.11623,
    "h": 280.3
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#4E4F98
secondary
#B6B68C
accent
#C75FC8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4F98

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

Preview Lab → · Contrast checker → · Palette generator →

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