#4F4E98#4F4E98

#4F4E98 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.3% C 0.118 H 281.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4F4E98
RGBrgb(79, 78, 152)
HSLhsl(241, 32%, 45%)
HSVhsv(241, 49%, 60%)
CMYKcmyk(48%, 48.7%, 0%, 40.4%)
CIE-LABlab(36.70, 20.96, -40.56)
CIE-LCHlch(36.70, 45.66, 297.32°)
OKLaboklab(46.26% 0.0232 -0.1152)
OKLCHoklch(46.26% 0.118 281.4)
XYZxyz(11.6146, 9.3775, 30.8977)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E98 #97984E
analogous
#4E7298 #4F4E98 #744E98
triadic
#4F4E98 #984F4E #4E984F
tetradic
#4F4E98 #984E72 #97984E #4E9874
square
#4F4E98 #984E72 #97984E #4E9874
split-complementary
#4F4E98 #98744E #72984E
monochromatic
#252447 #3A3970 #4F4E98 #6F6EB5 #9897CA

Accessibility & contrast

On white

7.30
#4F4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4F4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4E98
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4E98#FFFFFF#000000##FFFFFF
##4F4E981.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#2A5496
Tritanopia (blue-blind)
#355E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f4e98;
/* rgb */ color: rgb(79, 78, 152);
/* oklch */ color: oklch(46.3% 0.118 281.4);
Tailwind
colors: {
  custom: {
    50: '#857fb7',
    500: '#4f4e98',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e98;
$custom-light: #857fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e98",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 240.811,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.11753,
    "h": 281.4
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#4F4E98
secondary
#B6B68C
accent
#C85FC7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4F4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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