#4F54E7#4F54E7

#4F54E7 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.4% C 0.217 H 274.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4F54E7
RGBrgb(79, 84, 231)
HSLhsl(238, 76%, 61%)
HSVhsv(238, 66%, 91%)
CMYKcmyk(65.8%, 63.6%, 0%, 9.4%)
CIE-LABlab(43.90, 43.18, -75.02)
CIE-LCHlch(43.90, 86.56, 299.92°)
OKLaboklab(53.4% 0.018 -0.2164)
OKLCHoklch(53.4% 0.217 274.7)
XYZxyz(20.8138, 13.7706, 77.1469)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54E7 #E7E24F
analogous
#4FA0E7 #4F54E7 #964FE7
triadic
#4F54E7 #E74F54 #54E74F
tetradic
#4F54E7 #E74FA0 #E7E24F #4FE796
square
#4F54E7 #E74FA0 #E7E24F #4FE796
split-complementary
#4F54E7 #E7964F #A0E74F
monochromatic
#171BA5 #1E24DB #4F54E7 #8588EE #BBBDF6

Accessibility & contrast

On white

5.59
#4F54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4F54E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54E7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54E7#FFFFFF#000000##FFFFFF
##4F54E71.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f54e7;
/* rgb */ color: rgb(79, 84, 231);
/* oklch */ color: oklch(53.4% 0.217 274.7);
Tailwind
colors: {
  custom: {
    50: '#9284f0',
    500: '#4f54e7',
    950: '#000000',
  },
}
SCSS
$custom: #4f54e7;
$custom-light: #9284f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54e7",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 238.026,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53404,
    "c": 0.21719,
    "h": 274.7
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#4F54E7
secondary
#E6E4AC
accent
#D20DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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