#4F4E9D#4F4E9D

#4F4E9D is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.125 H 281.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4F4E9D
RGBrgb(79, 78, 157)
HSLhsl(241, 34%, 46%)
HSVhsv(241, 50%, 62%)
CMYKcmyk(49.7%, 50.3%, 0%, 38.4%)
CIE-LABlab(37.01, 22.56, -43.08)
CIE-LCHlch(37.01, 48.63, 297.64°)
OKLaboklab(46.59% 0.0238 -0.1226)
OKLCHoklch(46.59% 0.125 281)
XYZxyz(12.0328, 9.5447, 33.1000)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E9D #9C9D4E
analogous
#4E749D #4F4E9D #764E9D
triadic
#4F4E9D #9D4F4E #4E9D4F
tetradic
#4F4E9D #9D4E74 #9C9D4E #4E9D76
square
#4F4E9D #9D4E74 #9C9D4E #4E9D76
split-complementary
#4F4E9D #9D764E #749D4E
monochromatic
#26254B #3A3A74 #4F4E9D #7170B8 #9A99CC

Accessibility & contrast

On white

7.22
#4F4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4F4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4E9D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4E9D#FFFFFF#000000##FFFFFF
##4F4E9D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#24549B
Tritanopia (blue-blind)
#325F6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f4e9d;
/* rgb */ color: rgb(79, 78, 157);
/* oklch */ color: oklch(46.6% 0.125 281.0);
Tailwind
colors: {
  custom: {
    50: '#867fba',
    500: '#4f4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e9d;
$custom-light: #867fba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e9d",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 240.759,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46591,
    "c": 0.12488,
    "h": 281
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#4F4E9D
secondary
#B8B98E
accent
#CA5EC8
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4F4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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