#4F48D8#4F48D8

#4F48D8 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.2% C 0.212 H 277.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4F48D8
RGBrgb(79, 72, 216)
HSLhsl(243, 65%, 56%)
HSVhsv(243, 67%, 85%)
CMYKcmyk(63.4%, 66.7%, 0%, 15.3%)
CIE-LABlab(40.00, 45.38, -72.86)
CIE-LCHlch(40.00, 85.83, 301.92°)
OKLaboklab(50.18% 0.0283 -0.2101)
OKLCHoklch(50.18% 0.212 277.7)
XYZxyz(17.9325, 11.2534, 66.1796)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48D8 #D1D848
analogous
#4889D8 #4F48D8 #9748D8
triadic
#4F48D8 #D84F48 #48D84F
tetradic
#4F48D8 #D84889 #D1D848 #48D897
square
#4F48D8 #D84889 #D1D848 #48D897
split-complementary
#4F48D8 #D89748 #89D848
monochromatic
#221D89 #2F28BB #4F48D8 #807AE3 #B0ADEE

Accessibility & contrast

On white

6.46
#4F48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4F48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48D8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48D8#FFFFFF#000000##FFFFFF
##4F48D81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f48d8;
/* rgb */ color: rgb(79, 72, 216);
/* oklch */ color: oklch(50.2% 0.212 277.7);
Tailwind
colors: {
  custom: {
    50: '#907ce5',
    500: '#4f48d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f48d8;
$custom-light: #907ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48d8",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 242.917,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50184,
    "c": 0.21203,
    "h": 277.7
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

primary
#4F48D8
secondary
#D9DBA0
accent
#E840E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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