#4F4FB2#4F4FB2

#4F4FB2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.153 H 279.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4F4FB2
RGBrgb(79, 79, 178)
HSLhsl(240, 39%, 50%)
HSVhsv(240, 56%, 70%)
CMYKcmyk(55.6%, 55.6%, 0%, 30.2%)
CIE-LABlab(38.67, 28.75, -52.92)
CIE-LCHlch(38.67, 60.23, 298.52°)
OKLaboklab(48.28% 0.024 -0.1515)
OKLCHoklch(48.28% 0.153 279)
XYZxyz(14.0538, 10.4677, 43.3908)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FB2 #B2B24F
analogous
#4F80B2 #4F4FB2 #804FB2
triadic
#4F4FB2 #B24F4F #4FB24F
tetradic
#4F4FB2 #B24F80 #B2B24F #4FB280
square
#4F4FB2 #B24F80 #B2B24F #4FB280
split-complementary
#4F4FB2 #B2804F #80B24F
monochromatic
#29295E #3C3C88 #4F4FB2 #7A7AC5 #A4A4D7

Accessibility & contrast

On white

6.79
#4F4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F4FB2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FB2#FFFFFF#000000##FFFFFF
##4F4FB21.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#1D6679
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f4fb2;
/* rgb */ color: rgb(79, 79, 178);
/* oklch */ color: oklch(48.3% 0.153 279.0);
Tailwind
colors: {
  custom: {
    50: '#8980ca',
    500: '#4f4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fb2;
$custom-light: #8980ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fb2",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.15342,
    "h": 279
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#4F4FB2
secondary
#C4C498
accent
#CF59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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