#4F51EE#4F51EE

#4F51EE is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.229 H 274.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4F51EE
RGBrgb(79, 81, 238)
HSLhsl(239, 82%, 62%)
HSVhsv(239, 67%, 93%)
CMYKcmyk(66.8%, 66%, 0%, 6.7%)
CIE-LABlab(43.83, 47.23, -79.10)
CIE-LCHlch(43.83, 92.12, 300.84°)
OKLaboklab(53.53% 0.0195 -0.2284)
OKLCHoklch(53.53% 0.229 274.9)
XYZxyz(21.5944, 13.7182, 82.3822)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F51EE #EEEC4F
analogous
#4FA1EE #4F51EE #9C4FEE
triadic
#4F51EE #EE4F51 #51EE4F
tetradic
#4F51EE #EE4FA1 #EEEC4F #4FEE9C
square
#4F51EE #EE4FA1 #EEEC4F #4FEE9C
split-complementary
#4F51EE #EE9C4F #A1EE4F
monochromatic
#1113B1 #171AE9 #4F51EE #8788F3 #BFBFF9

Accessibility & contrast

On white

5.61
#4F51EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4F51EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F51EE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F51EE#FFFFFF#000000##FFFFFF
##4F51EE1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF3
Deuteranopia (green-blind)
#0060EB
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f51ee;
/* rgb */ color: rgb(79, 81, 238);
/* oklch */ color: oklch(53.5% 0.229 274.9);
Tailwind
colors: {
  custom: {
    50: '#9382f5',
    500: '#4f51ee',
    950: '#000000',
  },
}
SCSS
$custom: #4f51ee;
$custom-light: #9382f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f51ee",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 239.245,
    "s": 82.383,
    "l": 62.157
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.22922,
    "h": 274.9
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#4F51EE
secondary
#EAE9AF
accent
#DC07DF
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4F51EE

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

Preview Lab → · Contrast checker → · Palette generator →

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