#4F48E0#4F48E0

#4F48E0 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.222 H 277.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4F48E0
RGBrgb(79, 72, 224)
HSLhsl(243, 71%, 58%)
HSVhsv(243, 68%, 88%)
CMYKcmyk(64.7%, 67.9%, 0%, 12.2%)
CIE-LABlab(40.70, 47.92, -76.29)
CIE-LCHlch(40.70, 90.10, 302.13°)
OKLaboklab(50.9% 0.0273 -0.2202)
OKLCHoklch(50.9% 0.222 277.1)
XYZxyz(18.9920, 11.6772, 71.7596)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48E0 #D9E048
analogous
#488DE0 #4F48E0 #9B48E0
triadic
#4F48E0 #E04F48 #48E04F
tetradic
#4F48E0 #E0488D #D9E048 #48E09B
square
#4F48E0 #E0488D #D9E048 #48E09B
split-complementary
#4F48E0 #E09B48 #8DE048
monochromatic
#1F1994 #2A22C9 #4F48E0 #817CE9 #B4B1F2

Accessibility & contrast

On white

6.30
#4F48E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4F48E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48E0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48E0#FFFFFF#000000##FFFFFF
##4F48E01.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#0059DD
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f48e0;
/* rgb */ color: rgb(79, 72, 224);
/* oklch */ color: oklch(50.9% 0.222 277.1);
Tailwind
colors: {
  custom: {
    50: '#917ceb',
    500: '#4f48e0',
    950: '#000000',
  },
}
SCSS
$custom: #4f48e0;
$custom-light: #917ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48e0",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 242.763,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.22188,
    "h": 277.1
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#4F48E0
secondary
#DDE0A4
accent
#EE3AE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F48E0

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

Preview Lab → · Contrast checker → · Palette generator →

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