#4F4E97#4F4E97

#4F4E97 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.2% C 0.116 H 281.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4F4E97
RGBrgb(79, 78, 151)
HSLhsl(241, 32%, 45%)
HSVhsv(241, 48%, 59%)
CMYKcmyk(47.7%, 48.3%, 0%, 40.8%)
CIE-LABlab(36.64, 20.64, -40.06)
CIE-LCHlch(36.64, 45.06, 297.26°)
OKLaboklab(46.19% 0.0231 -0.1137)
OKLCHoklch(46.19% 0.116 281.5)
XYZxyz(11.5331, 9.3448, 30.4682)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E97 #96974E
analogous
#4E7197 #4F4E97 #744E97
triadic
#4F4E97 #974F4E #4E974F
tetradic
#4F4E97 #974E71 #96974E #4E9774
square
#4F4E97 #974E71 #96974E #4E9774
split-complementary
#4F4E97 #97744E #71974E
monochromatic
#252446 #3A396F #4F4E97 #6F6EB4 #9796C9

Accessibility & contrast

On white

7.32
#4F4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4F4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4E97
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4E97#FFFFFF#000000##FFFFFF
##4F4E971.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#2B5495
Tritanopia (blue-blind)
#365D6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f4e97;
/* rgb */ color: rgb(79, 78, 151);
/* oklch */ color: oklch(46.2% 0.116 281.5);
Tailwind
colors: {
  custom: {
    50: '#857fb6',
    500: '#4f4e97',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e97;
$custom-light: #857fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e97",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 240.822,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46189,
    "c": 0.11605,
    "h": 281.5
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#4F4E97
secondary
#B5B68B
accent
#C860C7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4F4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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