#4F4AAA#4F4AAA

#4F4AAA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.149 H 281.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4F4AAA
RGBrgb(79, 74, 170)
HSLhsl(243, 39%, 48%)
HSVhsv(243, 56%, 67%)
CMYKcmyk(53.5%, 56.5%, 0%, 33.3%)
CIE-LABlab(36.86, 29.30, -51.10)
CIE-LCHlch(36.86, 58.91, 299.82°)
OKLaboklab(46.75% 0.0292 -0.1462)
OKLCHoklch(46.75% 0.149 281.3)
XYZxyz(12.9267, 9.4613, 39.1675)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4AAA #A5AA4A
analogous
#4A75AA #4F4AAA #7F4AAA
triadic
#4F4AAA #AA4F4A #4AAA4F
tetradic
#4F4AAA #AA4A75 #A5AA4A #4AAA7F
square
#4F4AAA #AA4A75 #A5AA4A #4AAA7F
split-complementary
#4F4AAA #AA7F4A #75AA4A
monochromatic
#272555 #3B377F #4F4AAA #7570C1 #9E9BD3

Accessibility & contrast

On white

7.26
#4F4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4F4AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4AAA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4AAA#FFFFFF#000000##FFFFFF
##4F4AAA1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#286073
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f4aaa;
/* rgb */ color: rgb(79, 74, 170);
/* oklch */ color: oklch(46.8% 0.149 281.3);
Tailwind
colors: {
  custom: {
    50: '#887cc4',
    500: '#4f4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4f4aaa;
$custom-light: #887cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4aaa",
  "rgb": {
    "r": 79,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 243.125,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.14911,
    "h": 281.3
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#4F4AAA
secondary
#BDC090
accent
#CF59C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4F4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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