#4F4EAA#4F4EAA

#4F4EAA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.144 H 279.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4F4EAA
RGBrgb(79, 78, 170)
HSLhsl(241, 37%, 49%)
HSVhsv(241, 54%, 67%)
CMYKcmyk(53.5%, 54.1%, 0%, 33.3%)
CIE-LABlab(37.86, 26.77, -49.48)
CIE-LCHlch(37.86, 56.26, 298.41°)
OKLaboklab(47.5% 0.0247 -0.1414)
OKLCHoklch(47.5% 0.144 279.9)
XYZxyz(13.2023, 10.0125, 39.2593)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EAA #A9AA4E
analogous
#4E7BAA #4F4EAA #7D4EAA
triadic
#4F4EAA #AA4F4E #4EAA4F
tetradic
#4F4EAA #AA4E7B #A9AA4E #4EAA7D
square
#4F4EAA #AA4E7B #A9AA4E #4EAA7D
split-complementary
#4F4EAA #AA7D4E #7BAA4E
monochromatic
#282856 #3C3B80 #4F4EAA #7675C0 #A09FD3

Accessibility & contrast

On white

6.99
#4F4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4F4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4EAA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EAA#FFFFFF#000000##FFFFFF
##4F4EAA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#0956A8
Tritanopia (blue-blind)
#276374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4eaa;
/* rgb */ color: rgb(79, 78, 170);
/* oklch */ color: oklch(47.5% 0.144 279.9);
Tailwind
colors: {
  custom: {
    50: '#877fc4',
    500: '#4f4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #4f4eaa;
$custom-light: #877fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4eaa",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 240.652,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.14357,
    "h": 279.9
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#4F4EAA
secondary
#C0C094
accent
#CD5BCC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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