#4F4CAC#4F4CAC

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

Color values

HEX#4F4CAC
RGBrgb(79, 76, 172)
HSLhsl(242, 39%, 49%)
HSVhsv(242, 56%, 67%)
CMYKcmyk(54.1%, 55.8%, 0%, 32.5%)
CIE-LABlab(37.50, 28.68, -51.26)
CIE-LCHlch(37.50, 58.74, 299.23°)
OKLaboklab(47.27% 0.027 -0.1467)
OKLCHoklch(47.27% 0.149 280.4)
XYZxyz(13.2530, 9.8089, 40.2167)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CAC #A9AC4C
analogous
#4C79AC #4F4CAC #7F4CAC
triadic
#4F4CAC #AC4F4C #4CAC4F
tetradic
#4F4CAC #AC4C79 #A9AC4C #4CAC7F
square
#4F4CAC #AC4C79 #A9AC4C #4CAC7F
split-complementary
#4F4CAC #AC7F4C #79AC4C
monochromatic
#282657 #3C3982 #4F4CAC #7674C1 #A09ED4

Accessibility & contrast

On white

7.09
#4F4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F4CAC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4CAC#FFFFFF#000000##FFFFFF
##4F4CAC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5CAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#256274
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f4cac;
/* rgb */ color: rgb(79, 76, 172);
/* oklch */ color: oklch(47.3% 0.149 280.4);
Tailwind
colors: {
  custom: {
    50: '#887ec5',
    500: '#4f4cac',
    950: '#000000',
  },
}
SCSS
$custom: #4f4cac;
$custom-light: #887ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4cac",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 241.875,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.14915,
    "h": 280.4
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#4F4CAC
secondary
#C0C193
accent
#CF59CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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