#4F4FCC#4F4FCC

#4F4FCC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.189 H 277.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4F4FCC
RGBrgb(79, 79, 204)
HSLhsl(240, 55%, 55%)
HSVhsv(240, 61%, 80%)
CMYKcmyk(61.3%, 61.3%, 0%, 20%)
CIE-LABlab(40.59, 37.31, -64.98)
CIE-LCHlch(40.59, 74.93, 299.86°)
OKLaboklab(50.31% 0.0237 -0.187)
OKLCHoklch(50.31% 0.189 277.2)
XYZxyz(16.9160, 11.6125, 58.4651)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FCC #CCCC4F
analogous
#4F8DCC #4F4FCC #8D4FCC
triadic
#4F4FCC #CC4F4F #4FCC4F
tetradic
#4F4FCC #CC4F8D #CCCC4F #4FCC8D
square
#4F4FCC #CC4F8D #CCCC4F #4FCC8D
split-complementary
#4F4FCC #CC8D4F #8DCC4F
monochromatic
#24247D #3232AC #4F4FCC #7E7EDA #AEAEE7

Accessibility & contrast

On white

6.32
#4F4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4F4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FCC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FCC#FFFFFF#000000##FFFFFF
##4F4FCC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f4fcc;
/* rgb */ color: rgb(79, 79, 204);
/* oklch */ color: oklch(50.3% 0.189 277.2);
Tailwind
colors: {
  custom: {
    50: '#8d80dc',
    500: '#4f4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fcc;
$custom-light: #8d80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fcc",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.1885,
    "h": 277.2
  },
  "luminance": 0.11614
}

Semantic roles & 50–950 ramp

primary
#4F4FCC
secondary
#D5D5A1
accent
#DE49DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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