#4F48D9#4F48D9

#4F48D9 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.3% C 0.213 H 277.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4F48D9
RGBrgb(79, 72, 217)
HSLhsl(243, 66%, 57%)
HSVhsv(243, 67%, 85%)
CMYKcmyk(63.6%, 66.8%, 0%, 14.9%)
CIE-LABlab(40.09, 45.69, -73.29)
CIE-LCHlch(40.09, 86.37, 301.94°)
OKLaboklab(50.27% 0.0282 -0.2114)
OKLCHoklch(50.27% 0.213 277.6)
XYZxyz(18.0621, 11.3053, 66.8625)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48D9 #D2D948
analogous
#4889D9 #4F48D9 #9848D9
triadic
#4F48D9 #D94F48 #48D94F
tetradic
#4F48D9 #D94889 #D2D948 #48D998
square
#4F48D9 #D94889 #D2D948 #48D998
split-complementary
#4F48D9 #D99848 #89D948
monochromatic
#221D8A #2E27BD #4F48D9 #807BE4 #B0ADEE

Accessibility & contrast

On white

6.44
#4F48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4F48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48D9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48D9#FFFFFF#000000##FFFFFF
##4F48D91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f48d9;
/* rgb */ color: rgb(79, 72, 217);
/* oklch */ color: oklch(50.3% 0.213 277.6);
Tailwind
colors: {
  custom: {
    50: '#907ce6',
    500: '#4f48d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f48d9;
$custom-light: #907ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48d9",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 242.897,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50272,
    "c": 0.21327,
    "h": 277.6
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#4F48D9
secondary
#D9DCA1
accent
#E93FE0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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