#4F48E5#4F48E5

#4F48E5 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.228 H 276.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4F48E5
RGBrgb(79, 72, 229)
HSLhsl(243, 75%, 59%)
HSVhsv(243, 69%, 90%)
CMYKcmyk(65.5%, 68.6%, 0%, 10.2%)
CIE-LABlab(41.14, 49.51, -78.41)
CIE-LCHlch(41.14, 92.73, 302.27°)
OKLaboklab(51.35% 0.0266 -0.2264)
OKLCHoklch(51.35% 0.228 276.7)
XYZxyz(19.6801, 11.9524, 75.3835)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48E5 #DEE548
analogous
#4890E5 #4F48E5 #9E48E5
triadic
#4F48E5 #E54F48 #48E54F
tetradic
#4F48E5 #E54890 #DEE548 #48E59E
square
#4F48E5 #E54890 #DEE548 #48E59E
split-complementary
#4F48E5 #E59E48 #90E548
monochromatic
#1C169C #261ED2 #4F48E5 #837EED #B6B3F4

Accessibility & contrast

On white

6.19
#4F48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4F48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48E5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48E5#FFFFFF#000000##FFFFFF
##4F48E51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#005AE2
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f48e5;
/* rgb */ color: rgb(79, 72, 229);
/* oklch */ color: oklch(51.3% 0.228 276.7);
Tailwind
colors: {
  custom: {
    50: '#927cee',
    500: '#4f48e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f48e5;
$custom-light: #927cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48e5",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 242.675,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.22796,
    "h": 276.7
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#4F48E5
secondary
#E0E3A6
accent
#F236E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4F48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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