#4F4CCC#4F4CCC

#4F4CCC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.192 H 277.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4F4CCC
RGBrgb(79, 76, 204)
HSLhsl(241, 56%, 55%)
HSVhsv(241, 63%, 80%)
CMYKcmyk(61.3%, 62.7%, 0%, 20%)
CIE-LABlab(39.90, 39.13, -66.12)
CIE-LCHlch(39.90, 76.83, 300.62°)
OKLaboklab(49.8% 0.0263 -0.1903)
OKLCHoklch(49.8% 0.192 277.9)
XYZxyz(16.7045, 11.1895, 58.3945)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CCC #C9CC4C
analogous
#4C89CC #4F4CCC #8F4CCC
triadic
#4F4CCC #CC4F4C #4CCC4F
tetradic
#4F4CCC #CC4C89 #C9CC4C #4CCC8F
square
#4F4CCC #CC4C89 #C9CC4C #4CCC8F
split-complementary
#4F4CCC #CC8F4C #89CC4C
monochromatic
#25237B #3331AA #4F4CCC #7E7CDA #ADABE7

Accessibility & contrast

On white

6.49
#4F4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4F4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4CCC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4CCC#FFFFFF#000000##FFFFFF
##4F4CCC1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f4ccc;
/* rgb */ color: rgb(79, 76, 204);
/* oklch */ color: oklch(49.8% 0.192 277.9);
Tailwind
colors: {
  custom: {
    50: '#8d7edd',
    500: '#4f4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ccc;
$custom-light: #8d7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ccc",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 241.406,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.19215,
    "h": 277.9
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#4F4CCC
secondary
#D4D59F
accent
#DF49DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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