#4F48E1#4F48E1

#4F48E1 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.223 H 277.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4F48E1
RGBrgb(79, 72, 225)
HSLhsl(243, 72%, 58%)
HSVhsv(243, 68%, 88%)
CMYKcmyk(64.9%, 68%, 0%, 11.8%)
CIE-LABlab(40.79, 48.24, -76.72)
CIE-LCHlch(40.79, 90.62, 302.16°)
OKLaboklab(50.99% 0.0272 -0.2214)
OKLCHoklch(50.99% 0.223 277)
XYZxyz(19.1280, 11.7316, 72.4760)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48E1 #DAE148
analogous
#488DE1 #4F48E1 #9B48E1
triadic
#4F48E1 #E14F48 #48E14F
tetradic
#4F48E1 #E1488D #DAE148 #48E19B
square
#4F48E1 #E1488D #DAE148 #48E19B
split-complementary
#4F48E1 #E19B48 #8DE148
monochromatic
#1E1996 #2921CB #4F48E1 #827DEA #B4B1F2

Accessibility & contrast

On white

6.28
#4F48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4F48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48E1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48E1#FFFFFF#000000##FFFFFF
##4F48E11.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005ADE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f48e1;
/* rgb */ color: rgb(79, 72, 225);
/* oklch */ color: oklch(51.0% 0.223 277.0);
Tailwind
colors: {
  custom: {
    50: '#917cec',
    500: '#4f48e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f48e1;
$custom-light: #917cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48e1",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 242.745,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50988,
    "c": 0.2231,
    "h": 277
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#4F48E1
secondary
#DEE1A4
accent
#EF39E6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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