#4F4CB4#4F4CB4

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

Color values

HEX#4F4CB4
RGBrgb(79, 76, 180)
HSLhsl(242, 41%, 50%)
HSVhsv(242, 58%, 71%)
CMYKcmyk(56.1%, 57.8%, 0%, 29.4%)
CIE-LABlab(38.07, 31.29, -55.08)
CIE-LCHlch(38.07, 63.34, 299.60°)
OKLaboklab(47.88% 0.0271 -0.1579)
OKLCHoklch(47.88% 0.16 279.7)
XYZxyz(14.0445, 10.1255, 44.3855)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CB4 #B1B44C
analogous
#4C7DB4 #4F4CB4 #834CB4
triadic
#4F4CB4 #B44F4C #4CB44F
tetradic
#4F4CB4 #B44C7D #B1B44C #4CB483
square
#4F4CB4 #B44C7D #B1B44C #4CB483
split-complementary
#4F4CB4 #B4834C #7DB44C
monochromatic
#29275E #3C3A89 #4F4CB4 #7977C6 #A4A2D8

Accessibility & contrast

On white

6.94
#4F4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4F4CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4CB4
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4CB4#FFFFFF#000000##FFFFFF
##4F4CB41.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#1B6478
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4cb4;
/* rgb */ color: rgb(79, 76, 180);
/* oklch */ color: oklch(47.9% 0.160 279.7);
Tailwind
colors: {
  custom: {
    50: '#897ecb',
    500: '#4f4cb4',
    950: '#000000',
  },
}
SCSS
$custom: #4f4cb4;
$custom-light: #897ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4cb4",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 241.731,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.16021,
    "h": 279.7
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#4F4CB4
secondary
#C4C597
accent
#D157CD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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