#4F48DF#4F48DF

#4F48DF is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.221 H 277.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4F48DF
RGBrgb(79, 72, 223)
HSLhsl(243, 70%, 58%)
HSVhsv(243, 68%, 87%)
CMYKcmyk(64.6%, 67.7%, 0%, 12.5%)
CIE-LABlab(40.61, 47.61, -75.87)
CIE-LCHlch(40.61, 89.57, 302.11°)
OKLaboklab(50.81% 0.0274 -0.2189)
OKLCHoklch(50.81% 0.221 277.1)
XYZxyz(18.8568, 11.6231, 71.0475)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48DF #D8DF48
analogous
#488DDF #4F48DF #9A48DF
triadic
#4F48DF #DF4F48 #48DF4F
tetradic
#4F48DF #DF488D #D8DF48 #48DF9A
square
#4F48DF #DF488D #D8DF48 #48DF9A
split-complementary
#4F48DF #DF9A48 #8DDF48
monochromatic
#1F1A93 #2A23C7 #4F48DF #817CE8 #B3B0F1

Accessibility & contrast

On white

6.32
#4F48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4F48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48DF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48DF#FFFFFF#000000##FFFFFF
##4F48DF1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#0059DC
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f48df;
/* rgb */ color: rgb(79, 72, 223);
/* oklch */ color: oklch(50.8% 0.221 277.1);
Tailwind
colors: {
  custom: {
    50: '#917cea',
    500: '#4f48df',
    950: '#000000',
  },
}
SCSS
$custom: #4f48df;
$custom-light: #917cea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48df",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 242.781,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.22066,
    "h": 277.1
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#4F48DF
secondary
#DDE0A3
accent
#ED3BE5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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