#4F4AA5#4F4AA5

#4F4AA5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.142 H 281.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4F4AA5
RGBrgb(79, 74, 165)
HSLhsl(243, 38%, 47%)
HSVhsv(243, 55%, 65%)
CMYKcmyk(52.1%, 55.2%, 0%, 35.3%)
CIE-LABlab(36.51, 27.68, -48.68)
CIE-LCHlch(36.51, 56.00, 299.62°)
OKLaboklab(46.38% 0.0291 -0.1391)
OKLCHoklch(46.38% 0.142 281.8)
XYZxyz(12.4627, 9.2757, 36.7237)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4AA5 #A0A54A
analogous
#4A73A5 #4F4AA5 #7D4AA5
triadic
#4F4AA5 #A54F4A #4AA54F
tetradic
#4F4AA5 #A54A73 #A0A54A #4AA57D
square
#4F4AA5 #A54A73 #A0A54A #4AA57D
split-complementary
#4F4AA5 #A57D4A #73A54A
monochromatic
#272450 #3B377B #4F4AA5 #736EBE #9C98D1

Accessibility & contrast

On white

7.36
#4F4AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4F4AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4AA5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4AA5#FFFFFF#000000##FFFFFF
##4F4AA51.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A8
Deuteranopia (green-blind)
#0653A3
Tritanopia (blue-blind)
#2C5E70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f4aa5;
/* rgb */ color: rgb(79, 74, 165);
/* oklch */ color: oklch(46.4% 0.142 281.8);
Tailwind
colors: {
  custom: {
    50: '#877cc0',
    500: '#4f4aa5',
    950: '#000000',
  },
}
SCSS
$custom: #4f4aa5;
$custom-light: #877cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4aa5",
  "rgb": {
    "r": 79,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 243.297,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46383,
    "c": 0.1421,
    "h": 281.8
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#4F4AA5
secondary
#BBBD8E
accent
#CE5AC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4F4AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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