#4F4EA4#4F4EA4

#4F4EA4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.135 H 280.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4F4EA4
RGBrgb(79, 78, 164)
HSLhsl(241, 36%, 47%)
HSVhsv(241, 52%, 64%)
CMYKcmyk(51.8%, 52.4%, 0%, 35.7%)
CIE-LABlab(37.46, 24.82, -46.55)
CIE-LCHlch(37.46, 52.75, 298.06°)
OKLaboklab(47.08% 0.0244 -0.1328)
OKLCHoklch(47.08% 0.135 280.4)
XYZxyz(12.6476, 9.7907, 36.3381)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EA4 #A3A44E
analogous
#4E78A4 #4F4EA4 #7A4EA4
triadic
#4F4EA4 #A44F4E #4EA44F
tetradic
#4F4EA4 #A44E78 #A3A44E #4EA47A
square
#4F4EA4 #A44E78 #A3A44E #4EA47A
split-complementary
#4F4EA4 #A47A4E #78A44E
monochromatic
#272751 #3B3A7B #4F4EA4 #7473BC #9D9CD0

Accessibility & contrast

On white

7.10
#4F4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4F4EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4EA4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EA4#FFFFFF#000000##FFFFFF
##4F4EA41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA7
Deuteranopia (green-blind)
#1955A2
Tritanopia (blue-blind)
#2D6171
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f4ea4;
/* rgb */ color: rgb(79, 78, 164);
/* oklch */ color: oklch(47.1% 0.135 280.4);
Tailwind
colors: {
  custom: {
    50: '#877fbf',
    500: '#4f4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ea4;
$custom-light: #877fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ea4",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 240.698,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.13502,
    "h": 280.4
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#4F4EA4
secondary
#BCBD91
accent
#CC5CCA
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4F4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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