#4F4FA4#4F4FA4

#4F4FA4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.134 H 280.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4F4FA4
RGBrgb(79, 79, 164)
HSLhsl(240, 35%, 48%)
HSVhsv(240, 52%, 64%)
CMYKcmyk(51.8%, 51.8%, 0%, 35.7%)
CIE-LABlab(37.72, 24.18, -46.13)
CIE-LCHlch(37.72, 52.09, 297.66°)
OKLaboklab(47.27% 0.0232 -0.1316)
OKLCHoklch(47.27% 0.134 280)
XYZxyz(12.7192, 9.9338, 36.3620)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FA4 #A4A44F
analogous
#4F79A4 #4F4FA4 #794FA4
triadic
#4F4FA4 #A44F4F #4FA44F
tetradic
#4F4FA4 #A44F79 #A4A44F #4FA479
square
#4F4FA4 #A44F79 #A4A44F #4FA479
split-complementary
#4F4FA4 #A4794F #79A44F
monochromatic
#272751 #3B3B7B #4F4FA4 #7474BC #9D9DD0

Accessibility & contrast

On white

7.03
#4F4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4F4FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4FA4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FA4#FFFFFF#000000##FFFFFF
##4F4FA41.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#1C56A2
Tritanopia (blue-blind)
#2D6272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4fa4;
/* rgb */ color: rgb(79, 79, 164);
/* oklch */ color: oklch(47.3% 0.134 280.0);
Tailwind
colors: {
  custom: {
    50: '#8780bf',
    500: '#4f4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fa4;
$custom-light: #8780bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fa4",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.1336,
    "h": 280
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#4F4FA4
secondary
#BDBD92
accent
#CB5DCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4F4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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