#4F48D7#4F48D7

#4F48D7 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.211 H 277.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4F48D7
RGBrgb(79, 72, 215)
HSLhsl(243, 64%, 56%)
HSVhsv(243, 67%, 84%)
CMYKcmyk(63.3%, 66.5%, 0%, 15.7%)
CIE-LABlab(39.92, 45.06, -72.42)
CIE-LCHlch(39.92, 85.29, 301.89°)
OKLaboklab(50.1% 0.0284 -0.2089)
OKLCHoklch(50.1% 0.211 277.8)
XYZxyz(17.8036, 11.2019, 65.5008)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48D7 #D0D748
analogous
#4889D7 #4F48D7 #9748D7
triadic
#4F48D7 #D74F48 #48D74F
tetradic
#4F48D7 #D74889 #D0D748 #48D797
square
#4F48D7 #D74889 #D0D748 #48D797
split-complementary
#4F48D7 #D79748 #89D748
monochromatic
#231E87 #3029B9 #4F48D7 #7F7AE2 #B0ACED

Accessibility & contrast

On white

6.48
#4F48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4F48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48D7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48D7#FFFFFF#000000##FFFFFF
##4F48D71.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0058D4
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f48d7;
/* rgb */ color: rgb(79, 72, 215);
/* oklch */ color: oklch(50.1% 0.211 277.8);
Tailwind
colors: {
  custom: {
    50: '#907ce4',
    500: '#4f48d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f48d7;
$custom-light: #907ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48d7",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 242.937,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.21079,
    "h": 277.8
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#4F48D7
secondary
#D8DBA0
accent
#E741DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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