#4F51ED#4F51ED

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

Color values

HEX#4F51ED
RGBrgb(79, 81, 237)
HSLhsl(239, 81%, 62%)
HSVhsv(239, 67%, 93%)
CMYKcmyk(66.7%, 65.8%, 0%, 7.1%)
CIE-LABlab(43.74, 46.90, -78.67)
CIE-LCHlch(43.74, 91.59, 300.80°)
OKLaboklab(53.44% 0.0196 -0.2271)
OKLCHoklch(53.44% 0.228 274.9)
XYZxyz(21.4479, 13.6596, 81.6106)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F51ED #EDEB4F
analogous
#4FA0ED #4F51ED #9C4FED
triadic
#4F51ED #ED4F51 #51ED4F
tetradic
#4F51ED #ED4FA0 #EDEB4F #4FED9C
square
#4F51ED #ED4FA0 #EDEB4F #4FED9C
split-complementary
#4F51ED #ED9C4F #A0ED4F
monochromatic
#1214B0 #181AE7 #4F51ED #8788F3 #BEBFF8

Accessibility & contrast

On white

5.63
#4F51ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4F51ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F51ED
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F51ED#FFFFFF#000000##FFFFFF
##4F51ED1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0060EA
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f51ed;
/* rgb */ color: rgb(79, 81, 237);
/* oklch */ color: oklch(53.4% 0.228 274.9);
Tailwind
colors: {
  custom: {
    50: '#9382f4',
    500: '#4f51ed',
    950: '#000000',
  },
}
SCSS
$custom: #4f51ed;
$custom-light: #9382f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f51ed",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 237
  },
  "hsl": {
    "h": 239.241,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53441,
    "c": 0.22799,
    "h": 274.9
  },
  "luminance": 0.13662
}

Semantic roles & 50–950 ramp

primary
#4F51ED
secondary
#E9E8AF
accent
#DB08DE
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4F51ED

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

Preview Lab → · Contrast checker → · Palette generator →

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