#4F4CB7#4F4CB7

#4F4CB7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.164 H 279.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4F4CB7
RGBrgb(79, 76, 183)
HSLhsl(242, 43%, 51%)
HSVhsv(242, 58%, 72%)
CMYKcmyk(56.8%, 58.5%, 0%, 28.2%)
CIE-LABlab(38.29, 32.27, -56.49)
CIE-LCHlch(38.29, 65.06, 299.74°)
OKLaboklab(48.11% 0.0271 -0.162)
OKLCHoklch(48.11% 0.164 279.5)
XYZxyz(14.3534, 10.2491, 46.0125)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CB7 #B4B74C
analogous
#4C7EB7 #4F4CB7 #844CB7
triadic
#4F4CB7 #B74F4C #4CB74F
tetradic
#4F4CB7 #B74C7E #B4B74C #4CB784
square
#4F4CB7 #B74C7E #B4B74C #4CB784
split-complementary
#4F4CB7 #B7844C #7EB74C
monochromatic
#292761 #3B398D #4F4CB7 #7A78C9 #A5A3DA

Accessibility & contrast

On white

6.89
#4F4CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4F4CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4CB7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4CB7#FFFFFF#000000##FFFFFF
##4F4CB71.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f4cb7;
/* rgb */ color: rgb(79, 76, 183);
/* oklch */ color: oklch(48.1% 0.164 279.5);
Tailwind
colors: {
  custom: {
    50: '#8a7ecd',
    500: '#4f4cb7',
    950: '#000000',
  },
}
SCSS
$custom: #4f4cb7;
$custom-light: #8a7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4cb7",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 241.682,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.1643,
    "h": 279.5
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F4CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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