#4F4FB5#4F4FB5

#4F4FB5 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.158 H 278.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4F4FB5
RGBrgb(79, 79, 181)
HSLhsl(240, 41%, 51%)
HSVhsv(240, 56%, 71%)
CMYKcmyk(56.4%, 56.4%, 0%, 29%)
CIE-LABlab(38.88, 29.74, -54.35)
CIE-LCHlch(38.88, 61.95, 298.69°)
OKLaboklab(48.5% 0.024 -0.1557)
OKLCHoklch(48.5% 0.158 278.8)
XYZxyz(14.3583, 10.5895, 44.9945)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FB5 #B5B54F
analogous
#4F82B5 #4F4FB5 #824FB5
triadic
#4F4FB5 #B54F4F #4FB54F
tetradic
#4F4FB5 #B54F82 #B5B54F #4FB582
square
#4F4FB5 #B54F82 #B5B54F #4FB582
split-complementary
#4F4FB5 #B5824F #82B54F
monochromatic
#292961 #3B3B8C #4F4FB5 #7A7AC7 #A5A5D9

Accessibility & contrast

On white

6.74
#4F4FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4F4FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FB5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FB5#FFFFFF#000000##FFFFFF
##4F4FB51.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B8
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#19677A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f4fb5;
/* rgb */ color: rgb(79, 79, 181);
/* oklch */ color: oklch(48.5% 0.158 278.8);
Tailwind
colors: {
  custom: {
    50: '#8980cc',
    500: '#4f4fb5',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fb5;
$custom-light: #8980cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fb5",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 240,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48503,
    "c": 0.15757,
    "h": 278.8
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#4F4FB5
secondary
#C6C699
accent
#D157D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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