#4F4DA5#4F4DA5

#4F4DA5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.138 H 280.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4F4DA5
RGBrgb(79, 77, 165)
HSLhsl(241, 36%, 47%)
HSVhsv(241, 53%, 65%)
CMYKcmyk(52.1%, 53.3%, 0%, 35.3%)
CIE-LABlab(37.27, 25.78, -47.45)
CIE-LCHlch(37.27, 54.00, 298.51°)
OKLaboklab(46.95% 0.0256 -0.1355)
OKLCHoklch(46.95% 0.138 280.7)
XYZxyz(12.6678, 9.6859, 36.7921)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DA5 #A3A54D
analogous
#4D77A5 #4F4DA5 #7B4DA5
triadic
#4F4DA5 #A54F4D #4DA54F
tetradic
#4F4DA5 #A54D77 #A3A54D #4DA57B
square
#4F4DA5 #A54D77 #A3A54D #4DA57B
split-complementary
#4F4DA5 #A57B4D #77A54D
monochromatic
#272652 #3B3A7B #4F4DA5 #7472BD #9D9CD1

Accessibility & contrast

On white

7.15
#4F4DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4F4DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4DA5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DA5#FFFFFF#000000##FFFFFF
##4F4DA51.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA8
Deuteranopia (green-blind)
#1454A3
Tritanopia (blue-blind)
#2C6171
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f4da5;
/* rgb */ color: rgb(79, 77, 165);
/* oklch */ color: oklch(47.0% 0.138 280.7);
Tailwind
colors: {
  custom: {
    50: '#877fc0',
    500: '#4f4da5',
    950: '#000000',
  },
}
SCSS
$custom: #4f4da5;
$custom-light: #877fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4da5",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 241.364,
    "s": 36.364,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.13787,
    "h": 280.7
  },
  "luminance": 0.09687
}

Semantic roles & 50–950 ramp

primary
#4F4DA5
secondary
#BCBD90
accent
#CC5BCA
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4F4DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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