#4F4DB7#4F4DB7

#4F4DB7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.163 H 279.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4F4DB7
RGBrgb(79, 77, 183)
HSLhsl(241, 42%, 51%)
HSVhsv(241, 58%, 72%)
CMYKcmyk(56.8%, 57.9%, 0%, 28.2%)
CIE-LABlab(38.53, 31.65, -56.09)
CIE-LCHlch(38.53, 64.41, 299.43°)
OKLaboklab(48.29% 0.0261 -0.1609)
OKLCHoklch(48.29% 0.163 279.2)
XYZxyz(14.4229, 10.3879, 46.0356)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DB7 #B5B74D
analogous
#4D80B7 #4F4DB7 #844DB7
triadic
#4F4DB7 #B74F4D #4DB74F
tetradic
#4F4DB7 #B74D80 #B5B74D #4DB784
square
#4F4DB7 #B74D80 #B5B74D #4DB784
split-complementary
#4F4DB7 #B7844D #80B74D
monochromatic
#292862 #3B398E #4F4DB7 #7A79C9 #A5A4DA

Accessibility & contrast

On white

6.82
#4F4DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4F4DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4DB7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DB7#FFFFFF#000000##FFFFFF
##4F4DB71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#16667A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f4db7;
/* rgb */ color: rgb(79, 77, 183);
/* oklch */ color: oklch(48.3% 0.163 279.2);
Tailwind
colors: {
  custom: {
    50: '#8a7fcd',
    500: '#4f4db7',
    950: '#000000',
  },
}
SCSS
$custom: #4f4db7;
$custom-light: #8a7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4db7",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 241.132,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48289,
    "c": 0.16298,
    "h": 279.2
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#4F4DB7
secondary
#C6C798
accent
#D256D0
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4F4DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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