#4F4BB7#4F4BB7

#4F4BB7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.166 H 279.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4F4BB7
RGBrgb(79, 75, 183)
HSLhsl(242, 43%, 51%)
HSVhsv(242, 59%, 72%)
CMYKcmyk(56.8%, 59%, 0%, 28.2%)
CIE-LABlab(38.04, 32.89, -56.88)
CIE-LCHlch(38.04, 65.71, 300.04°)
OKLaboklab(47.93% 0.0281 -0.1632)
OKLCHoklch(47.93% 0.166 279.8)
XYZxyz(14.2851, 10.1124, 45.9897)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BB7 #B3B74B
analogous
#4B7DB7 #4F4BB7 #854BB7
triadic
#4F4BB7 #B74F4B #4BB74F
tetradic
#4F4BB7 #B74B7D #B3B74B #4BB785
square
#4F4BB7 #B74B7D #B3B74B #4BB785
split-complementary
#4F4BB7 #B7854B #7DB74B
monochromatic
#292761 #3B388D #4F4BB7 #7A77C8 #A4A2DA

Accessibility & contrast

On white

6.95
#4F4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4F4BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4BB7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4BB7#FFFFFF#000000##FFFFFF
##4F4BB71.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#16657A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4bb7;
/* rgb */ color: rgb(79, 75, 183);
/* oklch */ color: oklch(47.9% 0.166 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a7dcd',
    500: '#4f4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #4f4bb7;
$custom-light: #8a7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4bb7",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 242.222,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.16562,
    "h": 279.8
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#4F4BB7
secondary
#C5C797
accent
#D355CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4F4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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