#4F4E8F#4F4E8F

#4F4E8F is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.7% C 0.104 H 282.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4F4E8F
RGBrgb(79, 78, 143)
HSLhsl(241, 29%, 43%)
HSVhsv(241, 45%, 56%)
CMYKcmyk(44.8%, 45.5%, 0%, 43.9%)
CIE-LABlab(36.16, 18.12, -35.96)
CIE-LCHlch(36.16, 40.27, 296.74°)
OKLaboklab(45.68% 0.0219 -0.1017)
OKLCHoklch(45.68% 0.104 282.2)
XYZxyz(10.9053, 9.0937, 27.1619)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E8F #8E8F4E
analogous
#4E6D8F #4F4E8F #6F4E8F
triadic
#4F4E8F #8F4F4E #4E8F4F
tetradic
#4F4E8F #8F4E6D #8E8F4E #4E8F6F
square
#4F4E8F #8F4E6D #8E8F4E #4E8F6F
split-complementary
#4F4E8F #8F6F4E #6D8F4E
monochromatic
#232340 #393867 #4F4E8F #6D6CAF #9493C4

Accessibility & contrast

On white

7.45
#4F4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4F4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4E8F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4E8F#FFFFFF#000000##FFFFFF
##4F4E8F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#32538E
Tritanopia (blue-blind)
#3B5B67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f4e8f;
/* rgb */ color: rgb(79, 78, 143);
/* oklch */ color: oklch(45.7% 0.104 282.2);
Tailwind
colors: {
  custom: {
    50: '#847fb0',
    500: '#4f4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e8f;
$custom-light: #847fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e8f",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 240.923,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.10406,
    "h": 282.2
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#4F4E8F
secondary
#B0B188
accent
#C662C4
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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