#4F48E2#4F48E2

#4F48E2 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.224 H 276.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4F48E2
RGBrgb(79, 72, 226)
HSLhsl(243, 73%, 58%)
HSVhsv(243, 68%, 89%)
CMYKcmyk(65%, 68.1%, 0%, 11.4%)
CIE-LABlab(40.87, 48.56, -77.14)
CIE-LCHlch(40.87, 91.15, 302.19°)
OKLaboklab(51.08% 0.027 -0.2227)
OKLCHoklch(51.08% 0.224 276.9)
XYZxyz(19.2648, 11.7863, 73.1965)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48E2 #DBE248
analogous
#488EE2 #4F48E2 #9C48E2
triadic
#4F48E2 #E24F48 #48E24F
tetradic
#4F48E2 #E2488E #DBE248 #48E29C
square
#4F48E2 #E2488E #DBE248 #48E29C
split-complementary
#4F48E2 #E29C48 #8EE248
monochromatic
#1E1898 #2820CC #4F48E2 #827DEA #B5B2F3

Accessibility & contrast

On white

6.25
#4F48E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4F48E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48E2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48E2#FFFFFF#000000##FFFFFF
##4F48E21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f48e2;
/* rgb */ color: rgb(79, 72, 226);
/* oklch */ color: oklch(51.1% 0.224 276.9);
Tailwind
colors: {
  custom: {
    50: '#927cec',
    500: '#4f48e2',
    950: '#000000',
  },
}
SCSS
$custom: #4f48e2;
$custom-light: #927cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48e2",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 242.727,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51078,
    "c": 0.22431,
    "h": 276.9
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#4F48E2
secondary
#DFE1A4
accent
#EF38E7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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