#4F4E86#4F4E86

#4F4E86 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.1% C 0.090 H 283.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4F4E86
RGBrgb(79, 78, 134)
HSLhsl(241, 26%, 42%)
HSVhsv(241, 42%, 53%)
CMYKcmyk(41%, 41.8%, 0%, 47.5%)
CIE-LABlab(35.66, 15.33, -31.27)
CIE-LCHlch(35.66, 34.82, 296.12°)
OKLaboklab(45.13% 0.0203 -0.088)
OKLCHoklch(45.13% 0.09 283)
XYZxyz(10.2507, 8.8319, 23.7143)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E86 #85864E
analogous
#4E6986 #4F4E86 #6B4E86
triadic
#4F4E86 #864F4E #4E864F
tetradic
#4F4E86 #864E69 #85864E #4E866B
square
#4F4E86 #864E69 #85864E #4E866B
split-complementary
#4F4E86 #866B4E #69864E
monochromatic
#212139 #38375F #4F4E86 #6A69A8 #9190BE

Accessibility & contrast

On white

7.59
#4F4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4F4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4E86
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4E86#FFFFFF#000000##FFFFFF
##4F4E861.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#3F5963
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f4e86;
/* rgb */ color: rgb(79, 78, 134);
/* oklch */ color: oklch(45.1% 0.090 283.0);
Tailwind
colors: {
  custom: {
    50: '#837fa9',
    500: '#4f4e86',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e86;
$custom-light: #837fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e86",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 241.071,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.09031,
    "h": 283
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#4F4E86
secondary
#AAAB85
accent
#C365C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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