#4F4CE7#4F4CE7

#4F4CE7 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.226 H 276.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4F4CE7
RGBrgb(79, 76, 231)
HSLhsl(241, 76%, 60%)
HSVhsv(241, 67%, 91%)
CMYKcmyk(65.8%, 67.1%, 0%, 9.4%)
CIE-LABlab(42.15, 47.86, -77.89)
CIE-LCHlch(42.15, 91.42, 301.57°)
OKLaboklab(52.13% 0.0236 -0.2249)
OKLCHoklch(52.13% 0.226 276)
XYZxyz(20.2280, 12.5989, 76.9517)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CE7 #E4E74C
analogous
#4C97E7 #4F4CE7 #9C4CE7
triadic
#4F4CE7 #E74F4C #4CE74F
tetradic
#4F4CE7 #E74C97 #E4E74C #4CE79C
square
#4F4CE7 #E74C97 #E4E74C #4CE79C
split-complementary
#4F4CE7 #E79C4C #97E74C
monochromatic
#1916A3 #211DD9 #4F4CE7 #8482EE #B9B8F5

Accessibility & contrast

On white

5.97
#4F4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4F4CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4CE7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4CE7#FFFFFF#000000##FFFFFF
##4F4CE71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEC
Deuteranopia (green-blind)
#005DE4
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f4ce7;
/* rgb */ color: rgb(79, 76, 231);
/* oklch */ color: oklch(52.1% 0.226 276.0);
Tailwind
colors: {
  custom: {
    50: '#927ff0',
    500: '#4f4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ce7;
$custom-light: #927ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ce7",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 241.161,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.2261,
    "h": 276
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#4F4CE7
secondary
#E4E5AA
accent
#D90DD5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4F4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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