#4F4FC5#4F4FC5

#4F4FC5 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.179 H 277.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4F4FC5
RGBrgb(79, 79, 197)
HSLhsl(240, 50%, 54%)
HSVhsv(240, 60%, 77%)
CMYKcmyk(59.9%, 59.9%, 0%, 22.7%)
CIE-LABlab(40.06, 35.01, -61.80)
CIE-LCHlch(40.06, 71.03, 299.53°)
OKLaboklab(49.74% 0.0239 -0.1777)
OKLCHoklch(49.74% 0.179 277.7)
XYZxyz(16.0952, 11.2842, 54.1424)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FC5 #C5C54F
analogous
#4F8AC5 #4F4FC5 #8A4FC5
triadic
#4F4FC5 #C54F4F #4FC54F
tetradic
#4F4FC5 #C54F8A #C5C54F #4FC58A
square
#4F4FC5 #C54F8A #C5C54F #4FC58A
split-complementary
#4F4FC5 #C58A4F #8AC54F
monochromatic
#262674 #3535A2 #4F4FC5 #7D7DD4 #ABABE3

Accessibility & contrast

On white

6.45
#4F4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4F4FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FC5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FC5#FFFFFF#000000##FFFFFF
##4F4FC51.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f4fc5;
/* rgb */ color: rgb(79, 79, 197);
/* oklch */ color: oklch(49.7% 0.179 277.7);
Tailwind
colors: {
  custom: {
    50: '#8c80d7',
    500: '#4f4fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fc5;
$custom-light: #8c80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fc5",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.17926,
    "h": 277.7
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#4F4FC5
secondary
#D1D19F
accent
#DA4EDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F4FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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