#4F4DB8#4F4DB8

#4F4DB8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.164 H 279.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4F4DB8
RGBrgb(79, 77, 184)
HSLhsl(241, 43%, 51%)
HSVhsv(241, 58%, 72%)
CMYKcmyk(57.1%, 58.2%, 0%, 27.8%)
CIE-LABlab(38.60, 31.98, -56.56)
CIE-LCHlch(38.60, 64.97, 299.48°)
OKLaboklab(48.37% 0.0261 -0.1623)
OKLCHoklch(48.37% 0.164 279.1)
XYZxyz(14.5273, 10.4297, 46.5857)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DB8 #B6B84D
analogous
#4D80B8 #4F4DB8 #844DB8
triadic
#4F4DB8 #B84F4D #4DB84F
tetradic
#4F4DB8 #B84D80 #B6B84D #4DB884
square
#4F4DB8 #B84D80 #B6B84D #4DB884
split-complementary
#4F4DB8 #B8844D #80B84D
monochromatic
#292863 #3B398F #4F4DB8 #7A79C9 #A6A4DB

Accessibility & contrast

On white

6.80
#4F4DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4F4DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4DB8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DB8#FFFFFF#000000##FFFFFF
##4F4DB81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#14667B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f4db8;
/* rgb */ color: rgb(79, 77, 184);
/* oklch */ color: oklch(48.4% 0.164 279.1);
Tailwind
colors: {
  custom: {
    50: '#8a7fce',
    500: '#4f4db8',
    950: '#000000',
  },
}
SCSS
$custom: #4f4db8;
$custom-light: #8a7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4db8",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 241.121,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48366,
    "c": 0.16435,
    "h": 279.1
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#4F4DB8
secondary
#C7C899
accent
#D355D0
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4F4DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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