#4F48E3#4F48E3

#4F48E3 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.226 H 276.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4F48E3
RGBrgb(79, 72, 227)
HSLhsl(243, 73%, 59%)
HSVhsv(243, 68%, 89%)
CMYKcmyk(65.2%, 68.3%, 0%, 11%)
CIE-LABlab(40.96, 48.87, -77.57)
CIE-LCHlch(40.96, 91.68, 302.21°)
OKLaboklab(51.17% 0.0269 -0.2239)
OKLCHoklch(51.17% 0.226 276.8)
XYZxyz(19.4024, 11.8414, 73.9213)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48E3 #DCE348
analogous
#488EE3 #4F48E3 #9C48E3
triadic
#4F48E3 #E34F48 #48E34F
tetradic
#4F48E3 #E3488E #DCE348 #48E39C
square
#4F48E3 #E3488E #DCE348 #48E39C
split-complementary
#4F48E3 #E39C48 #8EE348
monochromatic
#1D1799 #2720CE #4F48E3 #827DEB #B5B2F3

Accessibility & contrast

On white

6.23
#4F48E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4F48E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48E3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48E3#FFFFFF#000000##FFFFFF
##4F48E31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#005AE0
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f48e3;
/* rgb */ color: rgb(79, 72, 227);
/* oklch */ color: oklch(51.2% 0.226 276.8);
Tailwind
colors: {
  custom: {
    50: '#927ced',
    500: '#4f48e3',
    950: '#000000',
  },
}
SCSS
$custom: #4f48e3;
$custom-light: #927ced;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48e3",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 242.71,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.22553,
    "h": 276.8
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#4F48E3
secondary
#DFE2A5
accent
#F038E8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F48E3

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

Preview Lab → · Contrast checker → · Palette generator →

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