#4F4CCE#4F4CCE

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

Color values

HEX#4F4CCE
RGBrgb(79, 76, 206)
HSLhsl(241, 57%, 55%)
HSVhsv(241, 63%, 81%)
CMYKcmyk(61.7%, 63.1%, 0%, 19.2%)
CIE-LABlab(40.06, 39.78, -67.01)
CIE-LCHlch(40.06, 77.93, 300.70°)
OKLaboklab(49.97% 0.0261 -0.193)
OKLCHoklch(49.97% 0.195 277.7)
XYZxyz(16.9459, 11.2861, 59.6660)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CCE #CBCE4C
analogous
#4C8ACE #4F4CCE #904CCE
triadic
#4F4CCE #CE4F4C #4CCE4F
tetradic
#4F4CCE #CE4C8A #CBCE4C #4CCE90
square
#4F4CCE #CE4C8A #CBCE4C #4CCE90
split-complementary
#4F4CCE #CE904C #8ACE4C
monochromatic
#24227D #322FAD #4F4CCE #7E7CDB #ADACE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4CCE#FFFFFF#000000##FFFFFF
##4F4CCE1.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)
#0064D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f4cce;
/* rgb */ color: rgb(79, 76, 206);
/* oklch */ color: oklch(50.0% 0.195 277.7);
Tailwind
colors: {
  custom: {
    50: '#8e7ede',
    500: '#4f4cce',
    950: '#000000',
  },
}
SCSS
$custom: #4f4cce;
$custom-light: #8e7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4cce",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 241.385,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.19474,
    "h": 277.7
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#4F4CCE
secondary
#D5D6A0
accent
#E048DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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