#4F4EAC#4F4EAC

#4F4EAC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.146 H 279.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4F4EAC
RGBrgb(79, 78, 172)
HSLhsl(241, 38%, 49%)
HSVhsv(241, 55%, 67%)
CMYKcmyk(54.1%, 54.7%, 0%, 32.5%)
CIE-LABlab(38.00, 27.42, -50.45)
CIE-LCHlch(38.00, 57.42, 298.53°)
OKLaboklab(47.65% 0.0248 -0.1443)
OKLCHoklch(47.65% 0.146 279.8)
XYZxyz(13.3929, 10.0888, 40.2633)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EAC #ABAC4E
analogous
#4E7CAC #4F4EAC #7E4EAC
triadic
#4F4EAC #AC4F4E #4EAC4F
tetradic
#4F4EAC #AC4E7C #ABAC4E #4EAC7E
square
#4F4EAC #AC4E7C #ABAC4E #4EAC7E
split-complementary
#4F4EAC #AC7E4E #7CAC4E
monochromatic
#282858 #3C3B82 #4F4EAC #7776C1 #A1A0D4

Accessibility & contrast

On white

6.96
#4F4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4F4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4EAC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EAC#FFFFFF#000000##FFFFFF
##4F4EAC1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAF
Deuteranopia (green-blind)
#0156AA
Tritanopia (blue-blind)
#256375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4eac;
/* rgb */ color: rgb(79, 78, 172);
/* oklch */ color: oklch(47.6% 0.146 279.8);
Tailwind
colors: {
  custom: {
    50: '#887fc5',
    500: '#4f4eac',
    950: '#000000',
  },
}
SCSS
$custom: #4f4eac;
$custom-light: #887fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4eac",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 240.638,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47649,
    "c": 0.14639,
    "h": 279.8
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#4F4EAC
secondary
#C1C195
accent
#CE5ACC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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