#4F4AA2#4F4AA2

#4F4AA2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.138 H 282.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4F4AA2
RGBrgb(79, 74, 162)
HSLhsl(243, 37%, 46%)
HSVhsv(243, 54%, 64%)
CMYKcmyk(51.2%, 54.3%, 0%, 36.5%)
CIE-LABlab(36.31, 26.71, -47.22)
CIE-LCHlch(36.31, 54.25, 299.50°)
OKLaboklab(46.17% 0.0289 -0.1348)
OKLCHoklch(46.17% 0.138 282.1)
XYZxyz(12.1928, 9.1678, 35.3025)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4AA2 #9DA24A
analogous
#4A71A2 #4F4AA2 #7B4AA2
triadic
#4F4AA2 #A24F4A #4AA24F
tetradic
#4F4AA2 #A24A71 #9DA24A #4AA27B
square
#4F4AA2 #A24A71 #9DA24A #4AA27B
split-complementary
#4F4AA2 #A27B4A #71A24A
monochromatic
#26244E #3B3778 #4F4AA2 #716DBC #9A97CF

Accessibility & contrast

On white

7.41
#4F4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4F4AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4AA2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4AA2#FFFFFF#000000##FFFFFF
##4F4AA21.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#1052A0
Tritanopia (blue-blind)
#2F5E6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f4aa2;
/* rgb */ color: rgb(79, 74, 162);
/* oklch */ color: oklch(46.2% 0.138 282.1);
Tailwind
colors: {
  custom: {
    50: '#877cbe',
    500: '#4f4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4aa2;
$custom-light: #877cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4aa2",
  "rgb": {
    "r": 79,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 243.409,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.13786,
    "h": 282.1
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#4F4AA2
secondary
#B9BC8C
accent
#CD5BC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4F4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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